# HG changeset patch # User Glenn Morris # Date 1263527676 28800 # Node ID f243845df25f900a3cf2ed8be42db24887233f14 # Parent eb0820fd350ab874b63d83c1d6a2befa872347f1 (vc-svn-print-log): Use --limit rather than -l since the former seems to be more widely accepted by various svn versions. diff -r eb0820fd350a -r f243845df25f lisp/ChangeLog --- 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 + + * 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 * find-cmd.el (find-constituents): diff -r eb0820fd350a -r f243845df25f lisp/vc-svn.el --- 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."