changeset 106846:f243845df25f

(vc-svn-print-log): Use --limit rather than -l since the former seems to be more widely accepted by various svn versions.
author Glenn Morris <rgm@gnu.org>
date Thu, 14 Jan 2010 19:54:36 -0800
parents eb0820fd350a
children 49daa9e9669f
files lisp/ChangeLog lisp/vc-svn.el
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Jan 14 19:51:48 2010 -0800
+++ b/lisp/ChangeLog	Thu Jan 14 19:54:36 2010 -0800
@@ -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):
--- a/lisp/vc-svn.el	Thu Jan 14 19:51:48 2010 -0800
+++ b/lisp/vc-svn.el	Thu Jan 14 19:54:36 2010 -0800
@@ -487,13 +487,13 @@
 		       ;; 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."