From: Eli Zaretskii Date: Fri, 29 Nov 2019 14:02:33 +0000 (+0200) Subject: Support showing one revision with Mercurial X-Git-Tag: emacs-27.0.90~485 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8400766b43ef83768b05e71f13c79ea237e21ca8;p=emacs.git 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". --- 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"