summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-bzr.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-11-29 11:30:43 +0200
committerEli Zaretskii <eliz@gnu.org>2019-11-29 11:30:43 +0200
commitcf715848d8dbc4474eabfa492f33065b4d6e2c71 (patch)
treeb92c154eb8f39e9a10f67851c70342c89f20f755 /lisp/vc/vc-bzr.el
parentb20d7f2cda5257086d5bd10968d85266a3c91219 (diff)
downloademacs-cf715848d8dbc4474eabfa492f33065b4d6e2c71.tar.gz
Support showing one revision with Bazaar
* lisp/vc/vc-bzr.el (vc-bzr-print-log): Support 'with-diff' invocation of "C-1 C-x v L".
Diffstat (limited to 'lisp/vc/vc-bzr.el')
-rw-r--r--lisp/vc/vc-bzr.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/vc/vc-bzr.el b/lisp/vc/vc-bzr.el
index 4c75eb79f1a..dcf3323866e 100644
--- a/lisp/vc/vc-bzr.el
+++ b/lisp/vc/vc-bzr.el
@@ -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