+2008-06-16 Juanma Barranquero <lekktu@gmail.com>
+
+ * vc-bzr.el (log-view-per-file-logs):
+ * vc-svn.el (log-view-per-file-logs): Pacify byte compiler.
+
2008-06-15 Chong Yidong <cyd@stupidchicken.com>
* mouse.el (mouse-appearance-menu-map): New var.
2008-06-15 Michael Albinus <michael.albinus@gmx.de>
- * net/tramp.el (tramp-handle-start-file-process): Clear
- modification time of the connection buffer.
- (tramp-sh-file-name-handler): Reset `tramp-locked' in case of
- error.
+ * net/tramp.el (tramp-handle-start-file-process):
+ Clear modification time of the connection buffer.
+ (tramp-sh-file-name-handler): Reset `tramp-locked' in case of error.
(tramp-open-connection-setup-interactive-shell): Flush cache, and
restart `tramp-maybe-open-connection' when the remote system has
been changed. Throw 'uname-changed event.
(tramp-maybe-open-connection): Catch it.
- * net/tramp-cmds.el (tramp-cleanup-all-connections): Reset
- `tramp-locked'.
+ * net/tramp-cmds.el (tramp-cleanup-all-connections):
+ Reset `tramp-locked'.
2008-06-15 Ulf Jasper <ulf@web.de>
Remove window dedication.
(newsticker--group-manage-orphan-feeds): Handle ill-valued
newsticker-groups.
- (newsticker--treeview-tree-expand): Don't manage orphan feeds
- here.
+ (newsticker--treeview-tree-expand): Don't manage orphan feeds here.
2008-06-15 Andreas Schwab <schwab@suse.de>
(lexical-let*
((filename* (expand-file-name filename))
(rootdir (vc-bzr-root filename*)))
- (when rootdir
+ (when rootdir
(file-relative-name filename* rootdir))))
(defun vc-bzr-status (file)
;; May break if they change their format.
(if (file-exists-p branch-format-file)
(with-temp-buffer
- (insert-file-contents branch-format-file)
+ (insert-file-contents branch-format-file)
(goto-char (point-min))
(cond
((or
(looking-at "Bazaar-NG branch, format 0.0.4")
(looking-at "Bazaar-NG branch format 5"))
;; count lines in .bzr/branch/revision-history
- (insert-file-contents revhistory-file)
+ (insert-file-contents revhistory-file)
(number-to-string (count-lines (line-end-position) (point-max))))
((looking-at "Bazaar Branch Format 6 (bzr 0.15)")
;; revno is the first number in .bzr/branch/last-revision
- (insert-file-contents lastrev-file)
+ (insert-file-contents lastrev-file)
(if (re-search-forward "[0-9]+" nil t)
(buffer-substring (match-beginning 0) (match-end 0))))))
;; fallback to calling "bzr revno"
(defvar log-view-file-re)
(defvar log-view-font-lock-keywords)
(defvar log-view-current-tag-function)
+(defvar log-view-per-file-logs)
(define-derived-mode vc-bzr-log-view-mode log-view-mode "Bzr-Log-View"
(remove-hook 'log-view-mode-hook 'vc-bzr-log-view-mode) ;Deactivate the hack.
(let (case-fold-search)
(if (re-search-forward
;; "revno:" can appear either at the beginning of a line, or indented.
- (concat "^[ ]*-+\n[ ]*revno: "
+ (concat "^[ ]*-+\n[ ]*revno: "
;; The revision can contain ".", quote it so that it
;; does not interfere with regexp matching.
(regexp-quote revision) "$") nil t)
"VC bzr backend for diff."
;; `bzr diff' exits with code 1 if diff is non-empty.
(apply #'vc-bzr-command "diff" (or buffer "*vc-diff*") 'async files
- "--diff-options" (mapconcat 'identity
+ "--diff-options" (mapconcat 'identity
(vc-diff-switches-list bzr)
" ")
;; This `when' is just an optimization because bzr-1.2 is *much*
;; faster when the revision argument is not given.
(when (or rev1 rev2)
(list "-r" (format "%s..%s"
- (or rev1 "revno:-1")
+ (or rev1 "revno:-1")
(or rev2 ""))))))
(defun vc-bzr-prettify-state-info (file)
"Bzr-specific version of `vc-prettify-state-info'."
(if (eq 'edited (vc-state file))
- (concat "(" (symbol-name (or (vc-file-getprop file 'vc-bzr-state)
+ (concat "(" (symbol-name (or (vc-file-getprop file 'vc-bzr-state)
'edited)) ")")
;; else fall back to default vc.el representation
(vc-default-prettify-state-info 'Bzr file)))
-;; XXX: this needs testing, it's probably incomplete.
+;; XXX: this needs testing, it's probably incomplete.
(defun vc-bzr-after-dir-status (update-function)
(let ((status-str nil)
(translation '(("+N" . added)
(setf (nth 1 entry) 'conflict)))
(push (list (buffer-substring-no-properties
(+ (point) 4)
- (line-end-position))
+ (line-end-position))
translated) result))
(forward-line))
(funcall update-function result)))