Commit 8400766b authored by Eli Zaretskii's avatar Eli Zaretskii

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".
parent 17f9151f
Pipeline #4200 failed with stage
in 55 minutes and 18 seconds
......@@ -432,6 +432,8 @@ If LIMIT is non-nil, show no more than this many entries."
(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"))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment