summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-01-14 19:54:36 -0800
committerGlenn Morris <rgm@gnu.org>2010-01-14 19:54:36 -0800
commit1db3226b1aa44e3ceea7ac2a0b25adc18c55ae5e (patch)
treea9195132fbcf4e825f8648748a700b4ed378a791
parent52b76c5ff472b4b56cb5a19c745553c4dce7e16f (diff)
(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 ab4334c8e0..0e5fc902b4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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):
diff --git a/lisp/vc-svn.el b/lisp/vc-svn.el
index 0f2216079b..658d4528f6 100644
--- a/lisp/vc-svn.el
+++ b/lisp/vc-svn.el
@@ -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."