Commit graph

18 commits

Author SHA1 Message Date
Juri Linkov
56b2854f30 Move version control related files to the "vc" subdirectory.
* add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
* ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
* ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
* ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
* pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
* smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
* vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
* vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
Move files to the "vc" subdirectory.
2010-06-11 21:51:00 +03:00
Dan Nicolaescu
8117868f0c Add .dir-locals.el support for file-less buffers.
* files.el (hack-local-variables): Split out code to apply local
variable settings ...
(hack-local-variables-apply): ... here.  New function.
(hack-dir-local-variables): Use the default directory for when the
buffer does not have an associated file.
(hack-dir-local-variables-non-file-buffer): New function.
* diff-mode.el (diff-mode):
* vc-annotate.el (vc-annotate-mode):
* vc-dir.el (vc-dir-mode):
* log-edit.el (log-edit-mode):
* log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
2010-03-12 00:04:54 -08: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