+2008-05-17 David Hull <david@snap.com> (tiny change)
+
+ * vc-hg.el (vc-hg-annotate-command): Allow white space before
+ version number.
+
2008-05-12 Simon Marshall <simon@gnu.org>
* obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
(vc-hg-command buffer 0 file "annotate" "-d" "-n" (if version (concat "-r" version)))
(with-current-buffer buffer
(goto-char (point-min))
- (re-search-forward "^[0-9]")
- (delete-region (point-min) (1- (point)))))
+ (re-search-forward "^[ \t]*[0-9]")
+ (delete-region (point-min) (match-beginning 0))))
;; The format for one line output by "hg annotate -d -n" looks like this: