Skip to content

Commit a47591d

Browse files
committed
docs(CHANGES): Note linked worktree checkout policy and ownership
1 parent cc4c0bf commit a47591d

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

‎CHANGES‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,29 @@ Minimum `libvcs>=0.47.0,<0.48.0` (was `>=0.46.0,<0.47.0`).
104104

105105
### What's new
106106

107+
#### Apply checkout policy to linked worktrees (#578)
108+
109+
{ref}`cli-worktree-sync` and {ref}`cli-sync` with `--include-worktrees`
110+
resolve typed targets, honor drift and dirty policy, and retain native
111+
recovery results. Existing tag and commit checkouts move when their target
112+
changes. Parent Git options, selected remotes, and explicit detachment apply
113+
to worktree planning and updates. Missing worktrees fetch and create under the
114+
same native ownership lock; requested lock failures retain the completed
115+
creation result.
116+
117+
Configured discard requires `--yes`; included worktree policies are checked
118+
before the main checkout changes. JSON and NDJSON retain exact recovery
119+
locations after restoration or conflict, and human output shows recovery
120+
identity. Read-only worktree planning and `--dry-run` previews never fetch and
121+
exit cleanly when remote targets have not been fetched yet; live `worktree sync`
122+
exits `1` when any worktree is blocked or errors.
123+
124+
`worktree sync` and `sync --include-worktrees` stop owned native processes on
125+
timeout or Ctrl-C and report retained recovery tokens. Each linked checkout
126+
has a separate deadline; standalone `worktree sync` accepts `--timeout`.
127+
Interrupted metadata remains unknown, and a timeout skips remaining worktrees
128+
for that repository.
129+
107130
#### Preserve Mercurial fetch and push remotes during sync (#590)
108131

109132
Mercurial remotes reach native sync with separate fetch and push URLs, both

0 commit comments

Comments
 (0)