aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-01-14 19:54:36 -0800
committerGlenn Morris2010-01-14 19:54:36 -0800
commit1db3226b1aa44e3ceea7ac2a0b25adc18c55ae5e (patch)
treea9195132fbcf4e825f8648748a700b4ed378a791
parent52b76c5ff472b4b56cb5a19c745553c4dce7e16f (diff)
downloademacs-1db3226b1aa44e3ceea7ac2a0b25adc18c55ae5e.tar.gz
emacs-1db3226b1aa44e3ceea7ac2a0b25adc18c55ae5e.zip
(vc-svn-print-log): Use --limit rather than -l since the
former seems to be more widely accepted by various svn versions.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/vc-svn.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ab4334c8e02..0e5fc902b48 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12010-01-15 Glenn Morris <rgm@gnu.org>
2
3 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
4 former seems to be more widely accepted by various svn versions.
5
12010-01-14 Juanma Barranquero <lekktu@gmail.com> 62010-01-14 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * find-cmd.el (find-constituents): 8 * find-cmd.el (find-constituents):
diff --git a/lisp/vc-svn.el b/lisp/vc-svn.el
index 0f2216079bd..658d4528f68 100644
--- a/lisp/vc-svn.el
+++ b/lisp/vc-svn.el
@@ -487,13 +487,13 @@ or svn+ssh://."
487 ;; subsequent commits. At least that's what the 487 ;; subsequent commits. At least that's what the
488 ;; vc-cvs.el code does. 488 ;; vc-cvs.el code does.
489 "-rHEAD:0")) 489 "-rHEAD:0"))
490 (when limit (list "-l" (format "%s" limit)))))) 490 (when limit (list "--limit" (format "%s" limit))))))
491 ;; Dump log for the entire directory. 491 ;; Dump log for the entire directory.
492 (apply 'vc-svn-command buffer 0 nil "log" 492 (apply 'vc-svn-command buffer 0 nil "log"
493 (append 493 (append
494 (list 494 (list
495 (if start-revision (format "-r%s" start-revision) "-rHEAD:0")) 495 (if start-revision (format "-r%s" start-revision) "-rHEAD:0"))
496 (when limit (list "-l" (format "%s" limit))))))))) 496 (when limit (list "--limit" (format "%s" limit)))))))))
497 497
498(defun vc-svn-diff (files &optional oldvers newvers buffer) 498(defun vc-svn-diff (files &optional oldvers newvers buffer)
499 "Get a difference report using SVN between two revisions of fileset FILES." 499 "Get a difference report using SVN between two revisions of fileset FILES."