1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-12 09:00:40 -08:00
Commit graph

80 commits

Author SHA1 Message Date
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
Miles Bader
2bef61c9f1 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

2007-07-24  Dan Nicolaescu  <dann@ics.uci.edu>

   * lisp/vc-hg.el (vc-hg-revision-completion-table): Temporarily comment out.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:20:28 +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
34b7fb850d (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 16:44:56 +00:00
Dan Nicolaescu
d7927b9f48 (vc-hg-diff): Use vc-hg-command. 2007-07-20 17:32:04 +00:00
Dan Nicolaescu
727bdea106 (vc-hg-workfile-unchanged-p): New function. 2007-07-20 06:54:40 +00:00
Dan Nicolaescu
a272e668c9 (vc-hg-workfile-unchanged-p): New function. 2007-07-20 03:15:19 +00:00
Dan Nicolaescu
c0edfa75c4 * vc-hooks.el (vc-default-workfile-unchanged-p): Pass a list
instead of a file.

* vc-hg.el (vc-hg-print-log): Fix for multiple files.

* vc.el: (vc-directory-exclusion-list): Add .hg and .bzr.
(vc-diff-internal): Pass a list instead of a file.
2007-07-20 01:22:18 +00:00
Dan Nicolaescu
a6ea7ffc20 * vc-hg.el (vc-hg-print-log): Deal with multiple file arguments.
(vc-hg-registered): Replace if with when.
(vc-hg-state): Deal with nonexistent files and handle removed
files.
(vc-hg-dir-state, vc-hg-dired-state-info): New functions.
(vc-hg-checkout): Re-enable.
(vc-hg-create-repo): Fix typos.

* vc.el: Fix typo.

* vc-mcvs.el (vc-mcvs-create-repo): Fix typos.

* vc-bzr.el (vc-bzr-create-repo): New function.
2007-07-20 00:09:17 +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
Eric S. Raymond
8cdd17b444 Put the lower half (the back-end) of NewVC in place. This commit
makes only the minimum changes needed to get the old vc.el logic
working with the new back ends.
2007-07-18 16:32:40 +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
Miles Bader
eaaa2b09e3 Add arch tagline 2007-07-08 11:30:49 +00:00
Dan Nicolaescu
8b69ba6c41 vc-hg.el: New file. 2007-07-06 21:24:38 +00:00
Dan Nicolaescu
a07e665b66 (vc-hg-root): New function.
(vc-hg-registered): Use it.
(vc-hg-diff-tree): New defalias.
(vc-hg-responsible-p): Likewise.
(vc-hg-checkout): Comment out, not needed.
(vc-hg-delete-file, vc-hg-rename-file, vc-hg-could-register)
(vc-hg-find-version, vc-hg-next-version): New functions.
2007-07-06 21:14:21 +00:00
Dan Nicolaescu
c2ba4a6b0a * vc-hooks.el (vc-handled-backends): Add HG.
* vc-hg.el (vc-handled-backends): Remove, done in vc-hooks.el now.
2007-07-05 19:48:06 +00:00
Dan Nicolaescu
b33ac3b78a * vc-hg.el (vc-hg-internal-status): Inline in `vc-hg-state', the
only caller, and delete.
(vc-hg-state): Deal with exceptions and only parse the output on
successful return.

* vc-hg.el (vc-hg-internal-log): Inline in
`vc-hg-workfile-version', the only caller, and delete.
(vc-hg-workfile-version): Deal with exceptions and only parse the
output on successful return.
2007-07-05 14:55:34 +00:00
Dan Nicolaescu
e72e768b75 * vc-hg.el (vc-hg-log-view-mode): Revert incorrect change. 2007-06-23 04:30:24 +00:00
Dan Nicolaescu
d621bc0ad7 * vc-hg.el (vc-hg-log-view-mode): Fix last change.
* log-view.el (log-view-mode-menu): New menu.
2007-06-23 03:06:21 +00:00
Stefan Monnier
11a4edc228 (vc-hg-registered): Add an autoloaded version.
(vc-hg-log-view-mode): Use log-view-font-lock-keywords.
2007-06-22 18:37:16 +00:00
Dan Nicolaescu
7c1912afa8 (vc-hg-print-log): Insert the file name.
(vc-hg-log-view-mode): Fontify the file name.
2007-06-22 17:22:17 +00:00
Dan Nicolaescu
d797e6435b (vc-hg-log-view-mode): New mode. 2007-06-22 02:11:59 +00:00
Dan Nicolaescu
cdaf01cce1 Add to do items.
(vc-hg-diff): Add support for comparing different revisions.
(vc-hg-diff, vc-hg-annotate-command, vc-hg-annotate-time)
(vc-hg-annotate-extract-revision-at-line)
(vc-hg-previous-version, vc-hg-checkin): New functions.
(vc-hg-annotate-re): New constant.
2007-06-21 05:44:54 +00:00
Glenn Morris
a58b1e40b1 Change license wording to match the rest of Emacs. 2007-06-20 07:33:45 +00:00
Dan Nicolaescu
248c66458e (vc-hg-global-switches): Simplify.
(vc-hg-state): Handle more states.
(vc-hg-diff): Fix doc-string.
(vc-hg-register): New function.
(vc-hg-checkout): Likewise.
2007-06-20 06:32:42 +00:00
Dan Nicolaescu
612234482f * vc-hg.el: New file. 2007-06-20 05:59:41 +00:00