Chong Yidong
554c98c508
(vc-next-action): Update list var correctly after delete.
2008-08-02 21:31:41 +00:00
Dan Nicolaescu
f6ff0e873f
(Todo): Update.
2008-07-22 04:39:27 +00:00
Dan Nicolaescu
f731e2f977
* vc-dir.el (vc-dir-hide-up-to-date): Also hide empty directories.
...
(vc-string-prefix-p): Move function ...
* vc.el (vc-string-prefix-p): ... here.
2008-06-28 07:30:47 +00:00
Dan Nicolaescu
50925e72de
* vc-dir.el (tool-bar): Require.
...
* vc.el (ewoc, tool-bar): Do no require.
2008-06-26 05:16:49 +00:00
Dan Nicolaescu
2913a58d6e
* vc-dir.el (vc-dir-marked-only-files-and-states): Rename from
...
vc-dir-marked-only-files. Change the return value.
(vc-dir-child-files-and-states): Rename from vc-dir-child-files.
Change the return value.
(vc-dir-deduce-fileset): New function broken out from ...
* vc.el (vc-deduce-fileset): ... here and ...
(vc-deduce-fileset): ... here.
2008-06-25 03:19:14 +00:00
Dan Nicolaescu
572aed3d4c
(Todo): Update.
2008-06-24 03:24:38 +00:00
Dan Nicolaescu
74d0991fc5
* vc.el:
...
* vc-hooks.el:
* vc-dispatcher.el: Move vc-dir variables and functions ...
* vc-dir.el: ... here. New file.
* Makefile.in (ELCFILES): Add vc-dir.elc.
2008-06-22 19:04:22 +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
Dan Nicolaescu
3daebe67ea
* vc.el (vc-switch-backend): Simplify.
...
(Todo): Remove solved items.
* vc-cvs.el (vc-cvs-parse-status, vc-cvs-parse-entry): Do not set
the vc-backend property.
2008-06-20 17:08:55 +00:00
Dan Nicolaescu
3114c2523a
(vc-dir-hide-up-to-date): Undo previous change.
2008-06-20 17:05:55 +00:00
Sam Steingold
424ce3bd46
(vc-dir-hide-up-to-date): Accept a prefix argument to also remove DIRECTORY entries.
2008-06-20 15:50:16 +00:00
Stefan Monnier
de7a9afaf3
(vc-deduce-fileset): Add arg `only-files'.
...
(vc-next-action): Pass the new arg.
(vc-register): Don't use `only-files'.
Don't set `backup-inhibited' in the current buffer.
2008-06-17 15:39:06 +00:00
Dan Nicolaescu
6653c6b769
* log-view.el (log-view-diff-changeset): New function.
...
(log-view-mode-map, log-view-mode-menu): Bind it.
(log-view-per-file-logs, log-view-vc-fileset)
(log-view-vc-backend): New variables.
(log-view-find-revision, log-view-modify-change-comment)
(log-view-annotate-version): Throw an error if the log is for more
than one file and we can't find the current file. Get the current
file from log-view-vc-fileset if necessary.
(log-view-diff): Get the current file from log-view-vc-fileset if
necessary.
* vc.el (vc-print-log): Set log-view-vc-fileset and log-view-vc-backend.
* vc-hg.el (vc-hg-log-view-mode): Call the log method only once.
(vc-hg-log-view-mode): Declare for compiler.
(vc-hg-log-view-mode): Set log-view-per-file-logs and
log-view-file-re.
(vc-hg-diff): If no file is passed, use default-directory for cwd.
* vc-bzr.el (vc-bzr-log-view-mode): Set log-view-per-file-logs.
* vc-svn.el (vc-svn-log-view-mode): New derived mode.
2008-06-15 14:58:24 +00:00
Dan Nicolaescu
39693840dc
(vc-deduce-fileset): Check if the buffer has a file.
...
(vc-register): Call the backend function only once, instead of
once for each file.
(vc-next-action): Update call to vc-register.
(vc-dir-register): Remove function.
(vc-dir): Bind vc-register instead of vc-dir-register.
2008-06-15 02:52:44 +00:00
Dan Nicolaescu
38b627cea0
(vc-annotate-show-diff-revision-at-line): Move most of the code to ...
...
(vc-annotate-show-diff-revision-at-line-internal): ... here. New
function.
(vc-annotate-show-changeset-diff-revision-at-line): New function.
(vc-annotate-mode-menu): Bind it.
2008-06-13 14:51:06 +00:00
Dan Nicolaescu
05fae1be0c
(vc-delete-file): Bound default-directory before calling
...
the backend.
2008-06-13 14:40:57 +00:00
Sam Steingold
260c15b4b9
(vc-rename-file): DTRT when the destination is a directory name and the source is a file.
2008-06-12 16:56:43 +00:00
Sam Steingold
f0fbfd4372
(vc-update): Use `save-some-buffers' instead of signaling an error on modified buffers.
2008-06-05 15:53:05 +00:00
Dan Nicolaescu
cbb8ec3e03
Add todo.
2008-05-27 00:20:23 +00:00
Dan Nicolaescu
114515eba8
(vc-deduce-fileset): Replace implementation with one based on a
...
working older version.
(vc-next-action): Use the new form of vc-deduce-fileset. Fix
dealing with unregistered files.
2008-05-27 00:18:35 +00:00
Dan Nicolaescu
dff34e7e98
(Problems): Remove fixed issues.
...
(vc-dir-headers): Align labels.
(vc-default-status-printer): Do no call prettify-state-info.
2008-05-27 00:10:53 +00:00
Dan Nicolaescu
476b4d3518
(vc-make-backend-object): Fix name.
...
(vc-dir-show-fileentry): Fix docstring.
(vc-dir-refresh): Use vc-dir-backend. Fix docstring.
(vc-dir-refresh-files): Use vc-dir-backend. Fix docstring. Reset
the state for directories.
2008-05-27 00:05:22 +00:00
Dan Nicolaescu
918e2ac456
(Problems): Remove fixed issues.
...
(vc-expand-dirs): Avoid returning directories.
2008-05-26 23:53:33 +00:00
Dan Nicolaescu
4ff615b49f
* vc.el (Problems): Remove fixed issues.
...
* vc-dispatcher.el (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
2008-05-26 23:44:59 +00:00
Andreas Schwab
9b06a6bdfe
(vc-default-prettify-state-info): Fix formatting of an
...
unknown state.
2008-05-26 12:08:23 +00:00
Dan Nicolaescu
64e5a32f19
(vc-delete-file): Make sure the buffer is deleted and
...
vc-dir buffers are updated.
2008-05-23 21:38:32 +00:00
Stefan Monnier
ee91bfdf8c
(vc-delete-file): Don't try to resynch the buffer.
2008-05-23 20:59:51 +00:00
Dan Nicolaescu
30cd7dc2bc
(Todo): Add known problems.
...
(vc-dir-backend): New variable.
(vc-dir): Set it.
(vc-make-backend-object, vc-generic-status-printer)
(vc-generic-state, vc-generic-status-fileinfo-extra)
(vc-dir-extra-menu): Use it.
(vc-generic-dir-headers): Remove, unused.
2008-05-18 07:53:08 +00:00
Dan Nicolaescu
4f155125f1
(vc-annotate-show-diff-revision-at-line): Change
...
vc-diff-internal arg to match what vc-deduce-fileseset returns now.
2008-05-17 17:07:46 +00:00
Eric S. Raymond
7c2ec3f975
Use state prettyprinter in vc-dir buffers.
2008-05-16 22:42:36 +00:00
Eric S. Raymond
98712492e7
Improved extra-headers method for CVS.
2008-05-16 19:15:26 +00:00
Eric S. Raymond
780162950d
Remove a very old comment.
2008-05-16 08:53:51 +00:00
Eric S. Raymond
370fded4f6
Snapshot primitives globally renamed to refer to tags, documentation updated.
2008-05-15 17:38:50 +00:00
Eric S. Raymond
400aec1ab3
More elimination of buffer name dependencies.
2008-05-15 15:01:29 +00:00
Eric S. Raymond
d536a90488
Remove assumptions about buffer names.
2008-05-15 14:32:49 +00:00
Eric S. Raymond
97275f80a9
Move vc-dir menu hook back to vc-dispatcher.
2008-05-15 13:50:55 +00:00
Eric S. Raymond
6986e5c978
Eliminate exoensive (vc-expand-dirs) calls.
2008-05-15 01:11:23 +00:00
Eric S. Raymond
192350af69
Make vc-deduce-fileset do the right thing in derived buffers.
2008-05-14 17:12:38 +00:00
Eric S. Raymond
77c5055c7b
Tell (vc-expand-dirs) not to throw out explicitly specified files.
2008-05-12 18:49:07 +00:00
Dan Nicolaescu
84cb74cf07
Re-add Todo item about merging.
2008-05-12 17:19:41 +00:00
Dan Nicolaescu
93614fc1f8
(with-vc-file, edit-vc-file): Remove unused macros.
2008-05-12 16:37:30 +00:00
Dan Nicolaescu
b257def74f
(vc-annotate-show-diff-revision-at-line): Remove incorrect
...
cons. Use vc-annotate-backend.
2008-05-12 16:22:42 +00:00
Stefan Monnier
ee5657de26
Comment.
2008-05-12 01:46:27 +00:00
Eric S. Raymond
2e4f446922
Reorganize to-do list.
2008-05-11 18:30:35 +00:00
Eric S. Raymond
dab6808215
Prevent some compilaation warnings.
2008-05-11 14:49:39 +00:00
Dan Nicolaescu
8234f5be56
Update todo.
2008-05-10 04:39:08 +00:00
Eric S. Raymond
6877092ed6
Item said "vc-update/vc-merge should deal with VC systems that don't
...
update/merge on a file basis, but on a whole repository basis." That's
what selecting the top-level directory of the repo or working copy is
for.
2008-05-09 20:28:54 +00:00
Eric S. Raymond
af83ee68b7
Remove two to-dos.
2008-05-09 20:21:48 +00:00
Eric S. Raymond
cb5d44b66d
Dupport an use an observer flag in (vc-dispatcher-selection-set).
2008-05-09 20:17:50 +00:00
Eric S. Raymond
79ac8f50ea
VC directory bindings are noew documented.
2008-05-09 20:07:01 +00:00