Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Eric S. Raymond
821677fb4d
Move a customization variable.
2008-05-06 01:41:34 +00:00
Eric S. Raymond
be63603729
Move the fileset staleness check from vc-next-action to
...
vc-dispatcher-selection-set.
2008-05-06 00:37:31 +00:00
Eric S. Raymond
b236ab0da9
More policy-mechanism separation.
2008-05-05 22:33:44 +00:00
Eric S. Raymond
5ebf2aa59c
Actually supply needed arguments.
2008-05-05 18:21:27 +00:00
Eric S. Raymond
d5079317f7
Fix a compilation warning.
2008-05-05 15:08:59 +00:00
Eric S. Raymond
992c67c500
Typo fix.
2008-05-05 02:43:34 +00:00
Eric S. Raymond
725aff3cad
Correct buggy dispatch logic.
2008-05-04 23:24:49 +00:00
Eric S. Raymond
a3e0b93f14
Typo fix.
2008-05-04 13:20:50 +00:00
Eric S. Raymond
cb625535b5
Bug fix for vc-dispatcher split.
2008-05-04 13:17:33 +00:00
Andreas Schwab
7b913185b0
Require dired when compiling.
2008-05-04 09:32:39 +00:00
Eric S. Raymond
d97d570d2c
Another refactoring step.
2008-05-03 13:16:19 +00:00
Eric S. Raymond
1bc7fa22f0
Refactoring step.
2008-05-03 13:07:18 +00:00
Eric S. Raymond
f17e204336
Small refactoring step.
2008-05-03 12:42:54 +00:00
Eric S. Raymond
d99d06ece0
Reorganze VC todo list.
2008-05-03 12:06:42 +00:00
Eric S. Raymond
783b505b7b
Moved most of vc-dir from vc.el to vc-dispatcher.el.
2008-05-03 11:46:05 +00:00
Eric S. Raymond
4f61cc3e1f
Move VC-Dired code from vc.el to vc-dispatcher.el.
2008-05-03 10:47:28 +00:00
Eric S. Raymond
17f039f312
Move context-preservation machinery.
2008-05-03 10:18:08 +00:00
Eric S. Raymond
83affd963e
Move the command-closure machinery to vc-dispatcher.el.
2008-05-03 09:45:20 +00:00
Eric S. Raymond
b1ddeeb7e7
Partially undo the dispatcher split, it needs to happen more gradually
...
to avoid breaking things.
2008-05-03 09:28:04 +00:00
Eric S. Raymond
7265c6e8a8
Remove logentry primitive from backend API.
2008-05-03 07:39:17 +00:00
Eric S. Raymond
92d1eebf86
vc-dispatcher layer separation.
2008-05-03 07:06:34 +00:00
Eric S. Raymond
9b4ab1b495
Append to another to-do comment.
2008-05-03 06:10:56 +00:00
Eric S. Raymond
7a3c8d3a1f
Added to-do items.
2008-05-03 06:01:19 +00:00
Eric S. Raymond
70e2f6c752
Clean up vc*-revision-granularity and vc*-checkout-model.
2008-05-02 17:47:25 +00:00
Sam Steingold
5ad4f91cb2
* vc.el (vc-dir-mode-map): Enable mouse bindings.
...
(vc-at-event): New macro: run the body at the even location.
(vc-dir-menu, vc-dir-toggle-mark): Use it.
(vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
* subr.d (mouse-event-p): Check if the even is mouse-related.
2008-05-02 14:37:39 +00:00
Eric S. Raymond
6cdc3bc9f1
More preparation for removing dired.
2008-05-02 07:47:18 +00:00
Eric S. Raymond
0a29940833
Name change in preparation for ripping out vc-dired.
2008-05-02 06:56:59 +00:00
Eric S. Raymond
3c73c30e89
Better error message on missing files.
2008-05-02 03:52:08 +00:00
Dan Nicolaescu
80296236a0
(vc-register): Change argument order so that the prefix
...
argument is assigned correctly.
(vc-next-action, vc-dir-register): Update for the above change.
2008-05-02 03:47:14 +00:00
Eric S. Raymond
a094fe434f
More informative message when a fileset is in a mixed state.
2008-05-02 03:38:16 +00:00
Eric S. Raymond
105cac2d47
Don't commit right after deletion.
2008-05-02 03:30:10 +00:00
Eric S. Raymond
cd49dc20d3
Remove unneeded TODO item in comment.
2008-05-02 03:23:53 +00:00
Eric S. Raymond
5a9de6d018
Remove some XXX comments no longer needed.
2008-05-01 19:28:56 +00:00
Eric S. Raymond
3702367bce
Change 'needs-patch to 'needs-update.
2008-05-01 19:13:16 +00:00
Sam Steingold
a84615c77a
(vc-delete-file): Check if the file has uncommitted changed.
2008-05-01 17:46:27 +00:00
Eric S. Raymond
1cb119fdbf
Comment cleanup (no code change).
2008-05-01 16:40:14 +00:00
Eric S. Raymond
18a083fd78
Add items to TODO list.
2008-05-01 16:05:04 +00:00
Dan Nicolaescu
97c66ed8cd
(vc-dir-mode-map): Don't bind "r".
2008-05-01 06:33:24 +00:00
Sam Steingold
97e089f64d
(vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
2008-04-30 19:03:54 +00:00
Sam Steingold
775237d3a1
(vc-dir-mode-map): Bind "d" to vc-dir-delete-file.
...
(vc-dir-delete-file): Add.
(vc-delete-file): Do not barf when the file has been already deleted.
2008-04-30 16:58:15 +00:00
Stefan Monnier
af36f8ed1f
(vc-checkout): Typo.
2008-04-30 08:13:09 +00:00
Dan Nicolaescu
5bd20ee694
(vc-deduce-fileset): Add new parameter.
...
(vc-dir-marked-only-files): New function.
(vc-next-action): Don't ignore directories, look at the files
inside them.
(vc-dir-mode): Document how the mark/unmark commands work.
2008-04-30 05:40:25 +00:00
Stefan Monnier
e0607aaa2c
Make `checkout-model' apply to filesets.
...
* vc-hooks.el (vc-checkout-model): Rewrite.
(vc-before-save, vc-after-save): Adjust callers accordingly.
* vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
(vc-transfer-file): Adjust callers accordingly.
* vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
(vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
(vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
instead of vc-checkout-model.
* vc-mcvs.el (vc-mcvs-revert):
Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
* vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
(vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
* vc-svn.el (vc-svn-checkout-model):
* vc-hg.el (vc-hg-checkout-model):
* vc-git.el (vc-git-checkout-model):
* vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
2008-04-29 15:32:56 +00:00
Sam Steingold
ac2c49f4e9
(vc-dir-mode-hook): Add normal hook.
...
(vc-dir-mode): Run it.
2008-04-29 13:42:15 +00:00
Dan Nicolaescu
6e61fbe177
(vc-dir-mode-map): Change bindings for unmark all and revert.
...
(vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
(vc-dir-mark-file): Add an optional argument.
(vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
2008-04-27 19:52:13 +00:00
Dan Nicolaescu
adc3afb0a7
(vc-next-action): Look at more than the first file to
...
determine the state.
2008-04-23 04:05:26 +00:00
Dan Nicolaescu
ae67f2d0c0
(vc-next-action): Do not consider directories when
...
checking for state compatibility.
(vc-transfer-file): Use when not if.
(vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
(vc-dir-mark-file): Use them.
(vc-deduce-fileset): Also return the backend.
(vc-diff-internal): Take as argument the value returned by
vc-deduce-fileset instead of just the fileset.
(vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
(vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
(vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
2008-04-22 09:00:14 +00:00
Stefan Monnier
39a7428bf5
(vc-dir): Use pop-to-buffer, so it can be customized.
2008-04-21 20:40:51 +00:00
Dan Nicolaescu
d48c50ae86
*** empty log message ***
2008-04-21 05:17:34 +00:00