]> git.eshelyaron.com Git - emacs.git/commitdiff
* vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
authorChong Yidong <cyd@stupidchicken.com>
Sun, 6 Dec 2009 23:27:55 +0000 (23:27 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 6 Dec 2009 23:27:55 +0000 (23:27 +0000)
author field is too short.

lisp/ChangeLog
lisp/vc-bzr.el

index 605f395ab43285b0a64f0689b3855aeafdb6901b..9d17dff0d728d923a5f733e84d9bf0853de15925 100644 (file)
@@ -1,3 +1,8 @@
+2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
+
+       * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
+       author field is too short.
+
 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * vc-git.el (vc-git-print-log): Handle a limit argument.  Display
index 233cdb171eeaea106cdc27dfa66946af09aa0032..70989ee56e7ab167ebff01ece3595f00bd35b5e6 100644 (file)
@@ -574,7 +574,8 @@ property containing author and date information."
               (unless tag
                 (setq tag
                       (propertize
-                       (concat rev " " (substring author 0 7))
+                       (concat rev " " (substring (concat author "       ")
+                                                  0 7))
                        'help-echo (format "Revision: %d, author: %s, date: %s"
                                           (string-to-number rev)
                                           author date)