changeset 96128:d5ad6b6af42d

(vc-bzr-annotate-extract-revision-at-line): Allow more than one space before the |.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 20 Jun 2008 18:12:01 +0000
parents 8b630d07bb3f
children ac3d7f9c33d5
files lisp/ChangeLog lisp/vc-bzr.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Jun 20 17:57:55 2008 +0000
+++ b/lisp/ChangeLog	Fri Jun 20 18:12:01 2008 +0000
@@ -1,5 +1,8 @@
 2008-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* vc-bzr.el (vc-bzr-annotate-extract-revision-at-line):
+	Allow more than one space before the |.
+
 	* textmodes/rst.el: Fix up docstring conventions.
 	Move vars to before their first use.
 	(rst-mode): Don't mess with font-lock-support-mode.
--- a/lisp/vc-bzr.el	Fri Jun 20 17:57:55 2008 +0000
+++ b/lisp/vc-bzr.el	Fri Jun 20 18:12:01 2008 +0000
@@ -552,7 +552,7 @@
 Return nil if current line isn't annotated."
   (save-excursion
     (beginning-of-line)
-    (if (looking-at " *\\([0-9.]+\\) | ")
+    (if (looking-at " *\\([0-9.]+\\) *| ")
         (match-string-no-properties 1))))
 
 (defun vc-bzr-command-discarding-stderr (command &rest args)