1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

(vc-svn-print-log): Use --limit rather than -l since the

former seems to be more widely accepted by various svn versions.
This commit is contained in:
Glenn Morris 2010-01-14 19:54:36 -08:00
parent 52b76c5ff4
commit 1db3226b1a
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-01-15 Glenn Morris <rgm@gnu.org>
* vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
former seems to be more widely accepted by various svn versions.
2010-01-14 Juanma Barranquero <lekktu@gmail.com>
* find-cmd.el (find-constituents):

View File

@ -487,13 +487,13 @@ or svn+ssh://."
;; subsequent commits. At least that's what the
;; vc-cvs.el code does.
"-rHEAD:0"))
(when limit (list "-l" (format "%s" limit))))))
(when limit (list "--limit" (format "%s" limit))))))
;; Dump log for the entire directory.
(apply 'vc-svn-command buffer 0 nil "log"
(append
(list
(if start-revision (format "-r%s" start-revision) "-rHEAD:0"))
(when limit (list "-l" (format "%s" limit)))))))))
(when limit (list "--limit" (format "%s" limit)))))))))
(defun vc-svn-diff (files &optional oldvers newvers buffer)
"Get a difference report using SVN between two revisions of fileset FILES."