Commit graph

11 commits

Author SHA1 Message Date
Miles Bader
5716cebdd0 Change capitalization of VC backend names for new backends
Revision: emacs@sv.gnu.org/emacs--rel--22--patch-87
2007-08-03 05:09:21 +00:00
Dan Nicolaescu
791869eb88 * vc-hg.el (vc-hg-registered): Set the vc-state property. 2007-07-30 17:12:10 +00:00
Dan Nicolaescu
eff23ff376 * vc-git.el: (vc-directory-exclusion-list, vc-handled-backends):
Remove.
(vc-git-revision-completion-table): Enable.

* vc-hooks.el (vc-handled-backends): Add GIT and HG.

* vc.el (vc-directory-exclusion-list): Add .git and .hg.

* vc-hg.el (vc-hg-revision-completion-table): Re-enable.

* diff-mode.el (diff-mode-menu): New entries.

* diff-mode.el (diff-beginning-of-file-and-junk): New function.
(diff-file-kill): Use it.
(diff-beginning-of-hunk): Add arg `try-harder' using it.
(diff-restrict-view, diff-find-source-location, diff-refine-hunk):
Use it so they find the hunk even when we're in the file header.

* vc.el: Add new VC operation `revision-completion-table'.
(vc-default-revision-completion-table): New function.
(vc-version-diff, vc-version-other-window): Use it to provide
completion of revision names if the backend provides it.

* vc-arch.el (vc-arch--version-completion-table)
(vc-arch-revision-completion-table): New functions to provide
completion of revision names.

* vc-cvs.el: Require CL.
(vc-cvs-revision-table, vc-cvs-revision-completion-table):
New functions to provide completion of revision names.

* eval.c (init_eval_once): Bump max_lisp_eval_depth to 400.

* vc2-xtra.texi (Customizing VC): Add GIT and HG.
2007-07-30 00:19:06 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Dan Nicolaescu
57b8089a8f (vc-hg-revision-completion-table): Temporarily comment
out.
2007-07-24 19:02:02 +00:00
Dan Nicolaescu
0c3b8cc477 (vc-hg-diff): Use vc-hg-command.
(vc-hg-dir-state): Fix loop.
(vc-hg-print-log): Fix expected return value for vc-hg-command.
(vc-hg-next-version, vc-hg-delete-file, vc-hg-rename-file)
(vc-hg-register, vc-hg-create-repo, vc-hg-checkin)
(vc-hg-revert): Likewise.
(vc-hg-revision-table, vc-hg-revision-completion-table): New
functions.
2007-07-21 17:51:13 +00:00
Dan Nicolaescu
727bdea106 (vc-hg-workfile-unchanged-p): New function. 2007-07-20 06:54:40 +00:00
Dan Nicolaescu
ad54692916 (vc-hg-registered): Replace if with when.
(vc-hg-state): Deal with nonexistent files.
2007-07-19 23:51:28 +00:00
Dan Nicolaescu
908265fc31 (vc-hg-state): Handle removed files.
(vc-hg-dir-state, vc-hg-dired-state-info): New functions.
(vc-hg-checkout): Re-enable.
2007-07-16 03:58:54 +00:00
Miles Bader
300e5e2274 Add arch tagline 2007-07-08 11:32:07 +00:00
Dan Nicolaescu
8b69ba6c41 vc-hg.el: New file. 2007-07-06 21:24:38 +00:00