]> git.eshelyaron.com Git - emacs.git/commitdiff
Support showing one revision with Bazaar
authorEli Zaretskii <eliz@gnu.org>
Fri, 29 Nov 2019 09:30:43 +0000 (11:30 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 29 Nov 2019 09:30:43 +0000 (11:30 +0200)
* lisp/vc/vc-bzr.el (vc-bzr-print-log): Support 'with-diff'
invocation of "C-1 C-x v L".

lisp/vc/vc-bzr.el

index 4c75eb79f1a07e70b56b4ab7befa06f683ca3a16..dcf3323866ea88dbed9373ef7de2f6c9d3024538 100644 (file)
@@ -762,6 +762,7 @@ If LIMIT is non-nil, show no more than this many entries."
                           ;; Is -c any different to -r in this case?
                           "-r%s"
                         "-r..%s") start-revision)))
+            (if (eq vc-log-view-type 'with-diff) (list "-p"))
            (when limit (list "-l" (format "%s" limit)))
            ;; There is no sensible way to combine --limit and --forward,
            ;; and it breaks the meaning of START-REVISION as the