1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/test/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
..
diff-mode-resources ; Fix failing diff-mode tests 2025-04-19 10:39:05 +02:00
vc-tests VC: New support for other working trees 2025-07-25 19:34:04 +01:00
add-log-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
diff-mode-tests.el ; Fix failing diff-mode tests 2025-04-19 10:39:05 +02:00
ediff-diff-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ediff-mult-tests.el Guard against user saving ediff-meta-diff-buffer 2025-03-09 08:10:17 -03:00
ediff-ptch-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
emerge-tests.el Fix emerge.el for remote files 2025-04-20 18:16:14 +02:00
log-edit-tests.el ; Fix byte-compiler warning 2025-03-09 18:29:01 +01:00
smerge-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
vc-bzr-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
vc-cvs-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
vc-git-tests.el ; Fix VC tests 2025-05-09 14:43:03 +03:00
vc-hg-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00