mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-23 22:42:01 -07:00
vc-hg, vc-svn print-log fixes for start-revision with limit != 1
* vc/vc-hg.el (vc-hg-print-log): * vc/vc-svn.el (vc-svn-print-log): Fix START-REVISION with LIMIT != 1. Fixes: debbugs:14168
This commit is contained in:
parent
bb7cdf58f6
commit
90b4237a6b
3 changed files with 6 additions and 2 deletions
|
|
@ -1,5 +1,9 @@
|
|||
2013-04-24 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* vc/vc-hg.el (vc-hg-print-log):
|
||||
* vc/vc-svn.el (vc-svn-print-log):
|
||||
Fix START-REVISION with LIMIT != 1. (Bug#14168)
|
||||
|
||||
* vc/vc-bzr.el (vc-bzr-print-log):
|
||||
* vc/vc-cvs.el (vc-cvs-print-log):
|
||||
* vc/vc-git.el (vc-git-print-log):
|
||||
|
|
|
|||
|
|
@ -260,7 +260,7 @@ If LIMIT is non-nil, show no more than this many entries."
|
|||
buffer
|
||||
(apply 'vc-hg-command buffer 0 files "log"
|
||||
(nconc
|
||||
(when start-revision (list (format "-r%s:" start-revision)))
|
||||
(when start-revision (list (format "-r%s:0" start-revision)))
|
||||
(when limit (list "-l" (format "%s" limit)))
|
||||
(when shortlog (list "--template" (car vc-hg-root-log-format)))
|
||||
vc-hg-log-switches)))))
|
||||
|
|
|
|||
|
|
@ -515,7 +515,7 @@ If LIMIT is non-nil, show no more than this many entries."
|
|||
(append
|
||||
(list
|
||||
(if start-revision
|
||||
(format "-r%s" start-revision)
|
||||
(format "-r%s:1" start-revision)
|
||||
;; By default Subversion only shows the log up to the
|
||||
;; working revision, whereas we also want the log of the
|
||||
;; subsequent commits. At least that's what the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue