aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2019-11-29 16:02:33 +0200
committerEli Zaretskii2019-11-29 16:02:33 +0200
commit8400766b43ef83768b05e71f13c79ea237e21ca8 (patch)
tree84569452008e88a2646afe7143df7aba27cb3815
parent17f9151f4ab22db97bd2a9d46dff8eb0752480c0 (diff)
downloademacs-8400766b43ef83768b05e71f13c79ea237e21ca8.tar.gz
emacs-8400766b43ef83768b05e71f13c79ea237e21ca8.zip
Support showing one revision with Mercurial
* lisp/vc/vc-hg.el (vc-hg-print-log): Support 'with-diff' invocation of "C-1 C-x v L".
-rw-r--r--lisp/vc/vc-hg.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el
index 5ff1a6204b1..c9407b1b597 100644
--- a/lisp/vc/vc-hg.el
+++ b/lisp/vc/vc-hg.el
@@ -432,6 +432,8 @@ If LIMIT is non-nil, show no more than this many entries."
432 (nconc 432 (nconc
433 (when start-revision (list (format "-r%s:0" start-revision))) 433 (when start-revision (list (format "-r%s:0" start-revision)))
434 (when limit (list "-l" (format "%s" limit))) 434 (when limit (list "-l" (format "%s" limit)))
435 (when (eq vc-log-view-type 'with-diff)
436 (list "-p"))
435 (if shortlog 437 (if shortlog
436 `(,@(if vc-hg-log-graph '("--graph")) 438 `(,@(if vc-hg-log-graph '("--graph"))
437 "--template" 439 "--template"