diff options
| author | Chong Yidong | 2010-04-16 20:28:19 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-04-16 20:28:19 -0400 |
| commit | 8507c65c5f73f1e8029000cea70e91ce1d2da8e6 (patch) | |
| tree | c3df12e342d0b98a412bdebd6199f40198c45f12 | |
| parent | d52dbd3d45804baa4645ee14cfe2176e2b6acee3 (diff) | |
| download | emacs-8507c65c5f73f1e8029000cea70e91ce1d2da8e6.tar.gz emacs-8507c65c5f73f1e8029000cea70e91ce1d2da8e6.zip | |
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).
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/vc-hg.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fc9c4719045..8c0fbc4c143 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-04-17 Magnus Henoch <magnus.henoch@gmail.com> | ||
| 2 | |||
| 3 | * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file | ||
| 4 | name relative to the project root (Bug#5960). | ||
| 5 | |||
| 1 | 2010-04-16 Glenn Morris <rgm@gnu.org> | 6 | 2010-04-16 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * vc-git.el (vc-git-print-log): Doc fix. | 8 | * vc-git.el (vc-git-print-log): Doc fix. |
diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el index b6e1d39c2ff..ca83b7edf2f 100644 --- a/lisp/vc-hg.el +++ b/lisp/vc-hg.el | |||
| @@ -340,7 +340,8 @@ Optional arg REVISION is a revision to annotate from." | |||
| 340 | (if (match-beginning 3) | 340 | (if (match-beginning 3) |
| 341 | (match-string-no-properties 1) | 341 | (match-string-no-properties 1) |
| 342 | (cons (match-string-no-properties 1) | 342 | (cons (match-string-no-properties 1) |
| 343 | (expand-file-name (match-string-no-properties 4))))))) | 343 | (expand-file-name (match-string-no-properties 4) |
| 344 | (vc-hg-root default-directory))))))) | ||
| 344 | 345 | ||
| 345 | (defun vc-hg-previous-revision (file rev) | 346 | (defun vc-hg-previous-revision (file rev) |
| 346 | (let ((newrev (1- (string-to-number rev)))) | 347 | (let ((newrev (1- (string-to-number rev)))) |