summaryrefslogtreecommitdiff
path: root/lisp/vc-bzr.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-12-06 23:27:55 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-12-06 23:27:55 +0000
commit2f2f5242243fdc427357c304b5fb880c04171542 (patch)
treec51a87eabb5144612614c1649193cefbca5c701d /lisp/vc-bzr.el
parentfcc708173f854edc0e80c17daefbd52891834d3a (diff)
downloademacs-2f2f5242243fdc427357c304b5fb880c04171542.tar.gz
emacs-2f2f5242243fdc427357c304b5fb880c04171542.tar.bz2
emacs-2f2f5242243fdc427357c304b5fb880c04171542.zip
* vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
author field is too short.
Diffstat (limited to 'lisp/vc-bzr.el')
-rw-r--r--lisp/vc-bzr.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc-bzr.el b/lisp/vc-bzr.el
index 233cdb171ee..70989ee56e7 100644
--- a/lisp/vc-bzr.el
+++ b/lisp/vc-bzr.el
@@ -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)