1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 23:40:39 -08:00
emacs/lisp/vc
Sean Whitton 50ffb29d0b VC: New support for other working trees
* lisp/vc/vc-git.el (vc-git--read-start-point): New function,
factored out of vc-git-create-tag.
(vc-git-create-tag): Use it.
(vc-git--worktrees, vc-git-known-other-working-trees)
(vc-git-add-working-tree, vc-git-delete-working-tree)
(vc-git-move-working-tree):
* lisp/vc/vc-hg.el (vc-hg-known-other-working-trees)
(vc-hg-add-working-tree, vc-hg--shared-p)
(vc-hg-delete-working-tree, vc-hg-move-working-tree): New
functions.
* lisp/vc/vc.el: Define API for known-other-working-tree,
add-working-tree, delete-working-tree and move-working-tree
backend functions.
(vc-dir-status-files): New function.
(project-current-directory-override): Declare.
(dired-rename-subdir): Autoload.
(vc-add-working-tree, vc-switch-working-tree)
(vc-delete-working-tree, vc-move-working-tree): New commands.
* lisp/vc/vc-hooks.el (vc-prefix-map): Bind them under C-x v.

* doc/emacs/vc1-xtra.texi (Other Working Trees): New node.
* etc/NEWS: Announce the new commands.

* test/lisp/vc/vc-tests/vc-tests.el
(vc-test--other-working-trees): New function.
(vc-test-git07-other-working-trees)
(vc-test-hg07-other-working-trees): New tests.

* lisp/ldefs-boot.el: Regenerate.
2025-07-25 19:34:04 +01:00
..
add-log.el
compare-w.el
cvs-status.el
diff-mode.el Include shorter bindings in diff-mode docstring 2025-07-19 11:17:25 +01:00
diff.el
ediff-diff.el
ediff-help.el
ediff-hook.el
ediff-init.el
ediff-merg.el
ediff-mult.el
ediff-ptch.el
ediff-util.el Fix 'ediff-before-setup-hook' 2025-07-05 11:07:29 +03:00
ediff-vers.el
ediff-wind.el
ediff.el
emerge.el Fix emerge.el for remote files 2025-04-20 18:16:14 +02:00
log-edit.el Log Edit: Don't auto-fill within the headers 2025-07-06 14:03:31 +01:00
log-view.el New user option: vc-allow-async-diff 2025-06-13 06:00:52 +03:00
pcvs-defs.el
pcvs-info.el
pcvs-parse.el
pcvs-util.el
pcvs.el lisp/vc: Try and avoid quoting lambdas 2025-07-19 14:42:28 -04:00
smerge-mode.el lisp/vc/smerge-mode.el (smerge--refine-highlight-change): Fix misalignment 2025-06-26 12:55:27 -04:00
vc-annotate.el Use short revisions by default when navigating to revisions 2025-07-07 09:32:12 +01:00
vc-bzr.el VC: Deprecate log-incoming and log-outgoing backend functions 2025-06-06 09:53:32 +01:00
vc-cvs.el ; * lisp/vc/vc-cvs.el (vc-cvs-file-to-string): Simplify slightly. 2025-07-21 11:04:34 +01:00
vc-dir.el VC: New support for other working trees 2025-07-25 19:34:04 +01:00
vc-dispatcher.el ; vc-revert-buffer-internal: Capitalization fix. 2025-07-16 11:00:46 +01:00
vc-filewise.el
vc-git.el VC: New support for other working trees 2025-07-25 19:34:04 +01:00
vc-hg.el VC: New support for other working trees 2025-07-25 19:34:04 +01:00
vc-hooks.el VC: New support for other working trees 2025-07-25 19:34:04 +01:00
vc-rcs.el New user option: vc-allow-async-diff 2025-06-13 06:00:52 +03:00
vc-sccs.el
vc-src.el
vc-svn.el
vc.el VC: New support for other working trees 2025-07-25 19:34:04 +01:00