summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2009-10-19 05:04:22 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2009-10-19 05:04:22 +0000
commitd1e4c4037e88f3256db19813805d03f8ad0291fa (patch)
tree3acda1ed317ab3c77efdaae923779288b6ba2bc2 /etc
parentd7306fe6b15ccdc49a066c05e5e86df8e005e859 (diff)
downloademacs-d1e4c4037e88f3256db19813805d03f8ad0291fa.tar.gz
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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 197751c6e5e..4d8778b10b0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -193,6 +193,11 @@ file.
*** FIXME: add info about the new VC functions: vc-root-diff and
vc-root-print-log once they stabilize.
+*** vc-annotate supports annotations through file copies and renames,
+it displays the old names for the files and it can show logs/diffs for
+the corresponding lines. Currently only Git and Mercurial take
+advantage of this feature.
+
*** When a file is not found, VC will not try to check it out of RCS anymore.
*** vc-git changes