diff lisp/vc-svn.el @ 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 1d1d5d9bd884
children e59c65208b1c
line wrap: on
line diff
--- 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."