aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorSean Whitton2025-07-25 19:34:04 +0100
committerSean Whitton2025-07-25 19:34:04 +0100
commit50ffb29d0bbb92a7c6569c83d2e3e4868c4e867b (patch)
tree0911cfa9182a3910deb041c6bc7391f2ce849096 /test/src
parent08ca6caa0a081cd67d253b09896c3789268da7a1 (diff)
downloademacs-50ffb29d0bbb92a7c6569c83d2e3e4868c4e867b.tar.gz
emacs-50ffb29d0bbb92a7c6569c83d2e3e4868c4e867b.zip
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.
Diffstat (limited to 'test/src')
0 files changed, 0 insertions, 0 deletions