emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 8400766: Support showing one revision with Mercurial


From: Eli Zaretskii
Subject: master 8400766: Support showing one revision with Mercurial
Date: Fri, 29 Nov 2019 09:03:24 -0500 (EST)

branch: master
commit 8400766b43ef83768b05e71f13c79ea237e21ca8
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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".
---
 lisp/vc/vc-hg.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el
index 5ff1a62..c9407b1 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]