From 1db3226b1aa44e3ceea7ac2a0b25adc18c55ae5e Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 14 Jan 2010 19:54:36 -0800 Subject: [PATCH] (vc-svn-print-log): Use --limit rather than -l since the former seems to be more widely accepted by various svn versions. --- lisp/ChangeLog | 5 +++++ lisp/vc-svn.el | 4 ++-- 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 @@ +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 --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://." ;; 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."