<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test/lisp/vc, branch scratch/split-package.el</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>vc-test--with-author-identity: Handle Mercurial</title>
<updated>2025-08-16T13:12:04+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2025-08-16T11:40:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d4c9f08f26ebd208e1a6d102410ec93b7ff323b6'/>
<id>d4c9f08f26ebd208e1a6d102410ec93b7ff323b6</id>
<content type='text'>
* test/lisp/vc/vc-tests/vc-tests.el (vc-hg-global-switches):
Declare.
(vc-test--with-author-identity): Handle Mercurial.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/vc/vc-tests/vc-tests.el (vc-hg-global-switches):
Declare.
(vc-test--with-author-identity): Handle Mercurial.
</pre>
</div>
</content>
</entry>
<entry>
<title>vc-test--other-working-trees: Export env vars so Git finds an author</title>
<updated>2025-08-12T19:35:49+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2025-08-12T19:35:49+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=bb1c737531c8d2e78a77b29ddd2db5b89c9c6810'/>
<id>bb1c737531c8d2e78a77b29ddd2db5b89c9c6810</id>
<content type='text'>
* test/lisp/vc/vc-tests/vc-tests.el
(vc-test--with-author-identity): New macro, factored out of
vc-test--version-diff.
(vc-test--version-diff, vc-test--other-working-trees): Use it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/vc/vc-tests/vc-tests.el
(vc-test--with-author-identity): New macro, factored out of
vc-test--version-diff.
(vc-test--version-diff, vc-test--other-working-trees): Use it.
</pre>
</div>
</content>
</entry>
<entry>
<title>vc-test--other-working-trees: Fix a skip condition</title>
<updated>2025-08-12T13:36:15+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2025-08-12T13:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=2923d244a332f73fc7e058a3aa6e9bff8f72f1c5'/>
<id>2923d244a332f73fc7e058a3aa6e9bff8f72f1c5</id>
<content type='text'>
* test/lisp/vc/vc-tests/vc-tests.el
(vc-test--other-working-trees): For Git, don't try moving the
first working tree unless we have Git&gt;=2.29.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/vc/vc-tests/vc-tests.el
(vc-test--other-working-trees): For Git, don't try moving the
first working tree unless we have Git&gt;=2.29.
</pre>
</div>
</content>
</entry>
<entry>
<title>vc-test-git07-other-working-trees: Widen scope of skip on Git&lt;=2.17</title>
<updated>2025-08-12T13:11:13+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2025-08-12T13:11:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c687756ce20bd98cb8af91bb555f638ba2132cfd'/>
<id>c687756ce20bd98cb8af91bb555f638ba2132cfd</id>
<content type='text'>
* test/lisp/vc/vc-tests/vc-tests.el
(vc-test--other-working-trees): Delete condition to skip
'move-working-tree' tests on Git&lt;=2.17.
(vc-test-git07-other-working-trees): Skip this whole test on
Git&lt;=2.17 (discussion in bug#79024).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/vc/vc-tests/vc-tests.el
(vc-test--other-working-trees): Delete condition to skip
'move-working-tree' tests on Git&lt;=2.17.
(vc-test-git07-other-working-trees): Skip this whole test on
Git&lt;=2.17 (discussion in bug#79024).
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some 'git worktree' compatibility issues</title>
<updated>2025-08-10T12:25:41+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2025-08-10T12:25:41+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=66eead6fd06d40b919ee6d1de86099592729d671'/>
<id>66eead6fd06d40b919ee6d1de86099592729d671</id>
<content type='text'>
* lisp/vc/vc-git.el (vc-git-delete-working-tree): Reimplement to
avoid requiring 'git worktree remove'.
(vc-git-move-working-tree): Use 'git worktree move' if 'git
worktree repair' is not available.  Give a more informative
error message if we don't even have that.
* test/lisp/vc/vc-tests/vc-tests.el (vc-git--program-version):
Declare.
(vc-test--other-working-trees): Skip vc-move-working-tree tests
with Git old enough to lack 'git worktree move'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/vc/vc-git.el (vc-git-delete-working-tree): Reimplement to
avoid requiring 'git worktree remove'.
(vc-git-move-working-tree): Use 'git worktree move' if 'git
worktree repair' is not available.  Give a more informative
error message if we don't even have that.
* test/lisp/vc/vc-tests/vc-tests.el (vc-git--program-version):
Declare.
(vc-test--other-working-trees): Skip vc-move-working-tree tests
with Git old enough to lack 'git worktree move'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix vc-git worktrees and vc-tests for directories with symlinks</title>
<updated>2025-08-04T09:55:25+00:00</updated>
<author>
<name>Mattias Engdegård</name>
</author>
<published>2025-08-04T09:00:53+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=1811cb294e44730ba6c069bfcd0ce564a38c8e0b'/>
<id>1811cb294e44730ba6c069bfcd0ce564a38c8e0b</id>
<content type='text'>
* lisp/vc/vc-git.el (vc-git-known-other-working-trees):
* test/lisp/vc/vc-tests/vc-tests.el (vc-test--other-working-trees):
Tolerate directories with symlinks in them, such as the standard
temporary dirs on MacOS.  'git worktree list' outputs expanded names.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/vc/vc-git.el (vc-git-known-other-working-trees):
* test/lisp/vc/vc-tests/vc-tests.el (vc-test--other-working-trees):
Tolerate directories with symlinks in them, such as the standard
temporary dirs on MacOS.  'git worktree list' outputs expanded names.
</pre>
</div>
</content>
</entry>
<entry>
<title>vc-test--other-working-trees: Stub out 'vc-dir'</title>
<updated>2025-07-27T18:44:31+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2025-07-27T18:44:31+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e954b29f5f78c17c99ae5c10a83aad9e4fd73e09'/>
<id>e954b29f5f78c17c99ae5c10a83aad9e4fd73e09</id>
<content type='text'>
* test/lisp/vc/vc-tests/vc-tests.el
(vc-test--other-working-trees): Stub out 'vc-dir' when adding
the second working tree.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/vc/vc-tests/vc-tests.el
(vc-test--other-working-trees): Stub out 'vc-dir' when adding
the second working tree.
</pre>
</div>
</content>
</entry>
<entry>
<title>vc-tests: Fix two problems with other working tree tests</title>
<updated>2025-07-27T08:24:02+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2025-07-27T08:24:02+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=eadc36a2af9df6b9afca717b851c0b5fdc17fc4b'/>
<id>eadc36a2af9df6b9afca717b851c0b5fdc17fc4b</id>
<content type='text'>
* test/lisp/vc/vc-tests/vc-tests.el (project, cl-lib): Require.
(vc-test--other-working-trees): Bind project-list-file to a
writeable file name.
(vc-test-hg07-other-working-trees): Use vc-hg-global-switches to
enable the share extension.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/vc/vc-tests/vc-tests.el (project, cl-lib): Require.
(vc-test--other-working-trees): Bind project-list-file to a
writeable file name.
(vc-test-hg07-other-working-trees): Use vc-hg-global-switches to
enable the share extension.
</pre>
</div>
</content>
</entry>
<entry>
<title>; vc-test--other-working-trees: Fix unused variable warning.</title>
<updated>2025-07-26T12:13:29+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2025-07-26T12:13:29+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ed71aac7eaca35050193c56507f28a7fa18cfadf'/>
<id>ed71aac7eaca35050193c56507f28a7fa18cfadf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>VC: New support for other working trees</title>
<updated>2025-07-25T18:34:04+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2025-07-25T18:34:04+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=50ffb29d0bbb92a7c6569c83d2e3e4868c4e867b'/>
<id>50ffb29d0bbb92a7c6569c83d2e3e4868c4e867b</id>
<content type='text'>
* 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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.
</pre>
</div>
</content>
</entry>
</feed>
