Commit 8507c65c authored by Chong Yidong's avatar Chong Yidong

Fix to vc-hg-annotate-extract-revision-at-line (Bug#5960).

* vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
name relative to the project root (Bug#5960).
parent d52dbd3d
2010-04-17 Magnus Henoch <magnus.henoch@gmail.com>
* vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
name relative to the project root (Bug#5960).
2010-04-16 Glenn Morris <rgm@gnu.org>
* vc-git.el (vc-git-print-log): Doc fix.
......
......@@ -340,7 +340,8 @@ Optional arg REVISION is a revision to annotate from."
(if (match-beginning 3)
(match-string-no-properties 1)
(cons (match-string-no-properties 1)
(expand-file-name (match-string-no-properties 4)))))))
(expand-file-name (match-string-no-properties 4)
(vc-hg-root default-directory)))))))
(defun vc-hg-previous-revision (file rev)
(let ((newrev (1- (string-to-number rev))))
......
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