diff options
| author | Dan Nicolaescu | 2009-10-19 05:04:22 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2009-10-19 05:04:22 +0000 |
| commit | d1e4c4037e88f3256db19813805d03f8ad0291fa (patch) | |
| tree | 3acda1ed317ab3c77efdaae923779288b6ba2bc2 /etc | |
| parent | d7306fe6b15ccdc49a066c05e5e86df8e005e859 (diff) | |
| download | emacs-d1e4c4037e88f3256db19813805d03f8ad0291fa.tar.gz emacs-d1e4c4037e88f3256db19813805d03f8ad0291fa.zip | |
Make vc-annotate work through copies and renames.
* vc-annotate.el (vc-annotate-extract-revision-at-line): Return
the file name too.
(vc-annotate-revision-at-line)
(vc-annotate-find-revision-at-line)
(vc-annotate-revision-previous-to-line)
(vc-annotate-show-log-revision-at-line): Update to get the file
name from vc-annotate-extract-revision-at-line.
(vc-annotate-show-diff-revision-at-line-internal): Change the
argument to mean whether to show a file diff or not. Get the file
name from vc-annotate-extract-revision-at-line.
(vc-annotate-show-diff-revision-at-line): Update
vc-annotate-show-diff-revision-at-line call.
(vc-annotate-warp-revision): Add an optional file argument.
* vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
(vc-git-annotate-extract-revision-at-line): Also return the file
name if found.
* vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
command. Remove unused code.
(vc-hg-annotate-re): Update to match --follow output.
(vc-hg-annotate-extract-revision-at-line): Also return the file
name if found.
* vc.el: Update annotate-extract-revision-at-line documentation.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -193,6 +193,11 @@ file. | |||
| 193 | *** FIXME: add info about the new VC functions: vc-root-diff and | 193 | *** FIXME: add info about the new VC functions: vc-root-diff and |
| 194 | vc-root-print-log once they stabilize. | 194 | vc-root-print-log once they stabilize. |
| 195 | 195 | ||
| 196 | *** vc-annotate supports annotations through file copies and renames, | ||
| 197 | it displays the old names for the files and it can show logs/diffs for | ||
| 198 | the corresponding lines. Currently only Git and Mercurial take | ||
| 199 | advantage of this feature. | ||
| 200 | |||
| 196 | *** When a file is not found, VC will not try to check it out of RCS anymore. | 201 | *** When a file is not found, VC will not try to check it out of RCS anymore. |
| 197 | 202 | ||
| 198 | *** vc-git changes | 203 | *** vc-git changes |