]> git.eshelyaron.com Git - emacs.git/commitdiff
Honor 'vc-bzr-log-switches' in 'vc-bzr-revision-table'
authorEli Zaretskii <eliz@gnu.org>
Sat, 8 Dec 2018 09:39:35 +0000 (11:39 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 8 Dec 2018 09:39:35 +0000 (11:39 +0200)
* lisp/vc/vc-bzr.el (vc-bzr-revision-table): Honor
'vc-bzr-log-switches'.

lisp/vc/vc-bzr.el

index e6d636f23c5fecde91197adc204f09f380c7f474..d5ed5908b9c209b003a310a3c15923bf6cb9a11b 100644 (file)
@@ -1247,7 +1247,11 @@ stream.  Standard error output is discarded."
   (let ((vc-bzr-revisions '())
         (default-directory (file-name-directory (car files))))
     (with-temp-buffer
-      (vc-bzr-command "log" t 0 files "--line")
+      (apply 'vc-bzr-command "log" t 0 files
+             (append '("--line")
+                     (if (stringp vc-bzr-log-switches)
+                         (list vc-bzr-log-switches)
+                       vc-bzr-log-switches)))
       (let ((start (point-min))
             (loglines (buffer-substring-no-properties (point-min) (point-max))))
         (while (string-match "^\\([0-9]+\\):" loglines)