Commit 9f940545 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

(vc-hg-annotate-command): Allow white space before version number.

parent 62867b11
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 "."
......@@ -311,8 +311,8 @@ Optional arg VERSION is a version to annotate from."
(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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment