Commit graph

22 commits

Author SHA1 Message Date
Juanma Barranquero
ddc20cdb02 lisp/vc-annotate.el: Fix typo. 2011-03-24 02:57:22 +01:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Dan Nicolaescu
11c46b395d Fix annotating other revisions for renamed files in vc-annotate.
* lisp/vc-annotate.el (vc-annotate): Add an optional argument for the
VC backend.  Use it when non-nil.
(vc-annotate-warp-revision): Pass the VC backend to vc-annotate.  (Bug#6487)
2010-06-21 20:00:54 -07:00
Dan Nicolaescu
c4786d60fe Fix vc-annotate-show-changeset-diff-revision-at-line for git.
* lisp/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
Do not pass the file name to the 'previous-revision call when we
don't want a file diff.  (Bug#6489)
2010-06-21 19:08:55 -07:00
Dan Nicolaescu
04ec0963f6 Fix finding revisions in for renamed files in vc-annotate.
* lisp/vc.el (vc-find-revision): Add an optional argument for
the VC backend.  Use it when non-nil.
* lisp/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
backend to vc-find-revision.  (Bug#6487)
2010-06-21 18:26:30 -07:00
Stefan Monnier
12755d0846 * lisp/vc-annotate.el (vc-annotate): Use vc-read-revision. 2010-06-15 00:51:42 -04:00
Dan Nicolaescu
e2396d80cb (vc-annotate-revision-at-line): Compare file
names too.
2010-01-25 01:04:59 -08:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Glenn Morris
dba372dd28 (log-view-vc-backend, log-view-vc-fileset): Define for compiler. 2009-12-10 08:24:41 +00:00
Dan Nicolaescu
662c5698fb Support showing a single log entry from vc-annotate.
* vc.el (print-log): Add a new argument: START-REVISION.
(vc-print-log-internal): Add a new optional argument and
pass it to the backend.
(vc-print-log, vc-print-root-log): Adjust callers.
* vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
buffer already displays the requested log entry, use it.
Otherwise display only the log entry in question.
* vc-svn.el (vc-svn-print-log):
* vc-mtn.el (log-view-file-re):
* vc-hg.el (vc-hg-state):
* vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
(vc-git-show-log-entry): Return t on success.
* vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
(vc-bzr-show-log-entry): Return t on success.
* vc-rcs.el (vc-rcs-print-log):
* vc-sccs.el (vc-sccs-print-log):
* vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
2009-12-07 09:02:11 +00:00
Johan Bockgård
a5d358f83c (vc-annotate-revision-previous-to-line): Really use previous revision. 2009-11-25 23:47:31 +00:00
Dan Nicolaescu
9717f1199f (vc-annotate-show-log-revision-at-line): Pass a
nil LIMIT argument to vc-print-log-internal.
2009-11-20 05:44:49 +00:00
Dan Nicolaescu
d1e4c4037e 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.
2009-10-19 05:04:22 +00:00
Juanma Barranquero
657bc6fcfd * vc-annotate.el (vc-annotate): Use the main file's coding-system to
decode annotated text, regardless of language environment.  (Bug#2741)
2009-09-11 10:58:54 +00:00
Chong Yidong
972bf25aaa (vc-annotate): Use widened line number (Bug#2612). 2009-03-10 00:59:09 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Juanma Barranquero
d41b91e695 * allout.el (allout-mode): Fix typo in docstring.
* vc-annotate.el (vc-annotate-warp-revision): Reflow docstring.
  (vc-annotate-very-old-color, vc-annotate-display): Fix docstring typos.
2008-11-23 05:48:41 +00:00
Dan Nicolaescu
e21c597ae4 (vc-annotate-mode-menu): Add separator. 2008-07-05 18:03:02 +00:00
Dan Nicolaescu
3cddaef124 (vc-annotate-mode-map): Bind to lower case keys.
Add binding for vc-annotate-show-changeset-diff-revision-at-line.
2008-07-01 14:47:10 +00:00
Dan Nicolaescu
ffbda93a86 (vc-annotate-mode): Derive from special-mode
instead of using view-mode.
2008-06-23 07:03:33 +00:00
Miles Bader
81c5ac7ed9 Add arch tagline 2008-06-23 00:13:34 +00:00
Dan Nicolaescu
f439c140ac * vc.el: Move vc-annotate variables and functions ...
* vc-annotate.el: ... here.  New file.
* Makefile.in (ELCFILES): Add vc-annotate.elc.
2008-06-22 17:56:00 +00:00