changeset 106466:5b7b3cac58c5

* vc-bzr.el (vc-bzr-annotate-command): Handle the case where the author field is too short.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 06 Dec 2009 23:27:55 +0000
parents 77b0defca7a3
children 0314d1c68b88
files lisp/ChangeLog lisp/vc-bzr.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Dec 06 22:36:11 2009 +0000
+++ b/lisp/ChangeLog	Sun Dec 06 23:27:55 2009 +0000
@@ -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
--- a/lisp/vc-bzr.el	Sun Dec 06 22:36:11 2009 +0000
+++ b/lisp/vc-bzr.el	Sun Dec 06 23:27:55 2009 +0000
@@ -574,7 +574,8 @@
 	       (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)