diff options
author | Eli Zaretskii <eliz@gnu.org> | 2019-11-29 16:02:33 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2019-11-29 16:02:33 +0200 |
commit | 8400766b43ef83768b05e71f13c79ea237e21ca8 (patch) | |
tree | 84569452008e88a2646afe7143df7aba27cb3815 /lisp/vc | |
parent | 17f9151f4ab22db97bd2a9d46dff8eb0752480c0 (diff) | |
download | emacs-8400766b43ef83768b05e71f13c79ea237e21ca8.tar.gz |
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".
Diffstat (limited to 'lisp/vc')
-rw-r--r-- | lisp/vc/vc-hg.el | 2 |
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." (nconc (when start-revision (list (format "-r%s:0" start-revision))) (when limit (list "-l" (format "%s" limit))) + (when (eq vc-log-view-type 'with-diff) + (list "-p")) (if shortlog `(,@(if vc-hg-log-graph '("--graph")) "--template" |