emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112367: vc-hg, vc-svn print-log fixe


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112367: vc-hg, vc-svn print-log fixes for start-revision with limit != 1
Date: Wed, 24 Apr 2013 00:59:29 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 112367
fixes bug: http://debbugs.gnu.org/14168
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2013-04-24 00:59:29 -0700
message:
  vc-hg, vc-svn print-log fixes for start-revision with limit != 1
  
  * vc/vc-hg.el (vc-hg-print-log):
  * vc/vc-svn.el (vc-svn-print-log): Fix START-REVISION with LIMIT != 1.
modified:
  lisp/ChangeLog
  lisp/vc/vc-hg.el
  lisp/vc/vc-svn.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-04-24 07:52:00 +0000
+++ b/lisp/ChangeLog    2013-04-24 07:59:29 +0000
@@ -1,5 +1,9 @@
 2013-04-24  Glenn Morris  <address@hidden>
 
+       * vc/vc-hg.el (vc-hg-print-log):
+       * vc/vc-svn.el (vc-svn-print-log):
+       Fix START-REVISION with LIMIT != 1.  (Bug#14168)
+
        * vc/vc-bzr.el (vc-bzr-print-log):
        * vc/vc-cvs.el (vc-cvs-print-log):
        * vc/vc-git.el (vc-git-print-log):

=== modified file 'lisp/vc/vc-hg.el'
--- a/lisp/vc/vc-hg.el  2013-04-24 07:52:00 +0000
+++ b/lisp/vc/vc-hg.el  2013-04-24 07:59:29 +0000
@@ -260,7 +260,7 @@
        buffer
       (apply 'vc-hg-command buffer 0 files "log"
             (nconc
-             (when start-revision (list (format "-r%s:" start-revision)))
+             (when start-revision (list (format "-r%s:0" start-revision)))
              (when limit (list "-l" (format "%s" limit)))
              (when shortlog (list "--template" (car vc-hg-root-log-format)))
              vc-hg-log-switches)))))

=== modified file 'lisp/vc/vc-svn.el'
--- a/lisp/vc/vc-svn.el 2013-04-24 07:52:00 +0000
+++ b/lisp/vc/vc-svn.el 2013-04-24 07:59:29 +0000
@@ -515,7 +515,7 @@
                   (append
                    (list
                     (if start-revision
-                        (format "-r%s" start-revision)
+                        (format "-r%s:1" start-revision)
                       ;; By default Subversion only shows the log up to the
                       ;; working revision, whereas we also want the log of the
                       ;; subsequent commits.  At least that's what the


reply via email to

[Prev in Thread] Current Thread [Next in Thread]