@@ -45,6 +45,24 @@ _Notes on upcoming releases will be added here_
4545Python 3.10 reached end-of-life in October 2026. vcspull now requires Python
46463.11 or newer.
4747
48+ #### Sync aborts on dirty checkouts by default and returns SyncExecution (#590 )
49+
50+ {ref}` cli-sync ` now defaults to ` dirty: abort ` and refuses updates when local
51+ changes are present unless ` sync.dirty ` is set to ` preserve ` or ` discard ` (with
52+ ` --yes ` passed on each discard invocation). Bounded CLI synchronization requires
53+ POSIX process groups. In Python, {func}` vcspull.cli.sync.update_repo ` now
54+ returns {class}` ~vcspull.cli.sync.SyncExecution ` instead of ` BaseSync ` .
55+
56+ ``` python
57+ # Before
58+ project = update_repo(repo_dict)
59+
60+ # After
61+ execution = update_repo(repo_dict, yes = False )
62+ project = execution.project
63+ result = execution.result
64+ ```
65+
4866#### Configuration loading validates repository entries strictly (#589 )
4967
5068Configuration loading now rejects unknown repository, target, policy, or backend
@@ -86,6 +104,36 @@ Minimum `libvcs>=0.47.0,<0.48.0` (was `>=0.46.0,<0.47.0`).
86104
87105# ## What's new
88106
107+ # ### Preserve Mercurial fetch and push remotes during sync (#590)
108+
109+ Mercurial remotes reach native sync with separate fetch and push URLs, both
110+ through direct calls and the CLI worker. `working_copy.remote` selects the
111+ pull source without changing the configured push destination.
112+
113+ # ### Sync stops owned processes on timeout and interruption (#590)
114+
115+ CLI sync uses a separate process for each repository and streams progress
116+ without changing the parent's output streams or leaking `PYTHONPATH` into native
117+ VCS descendants. Timeout and Ctrl-C stop the worker and native process group
118+ before further work. Interrupted results retain unknown state and report
119+ discovered recovery tokens in human and machine output.
120+
121+ # ### Apply main checkout policy and retain recovery details (#590)
122+
123+ Sync forwards the configured selector kind, remote, and drift/dirty policy
124+ to libvcs. Git preservation retains a recovery token after restoration or
125+ conflict. Human output shows retained material; JSON and NDJSON preserve its
126+ exact identity and operation outcomes. Configured discard requires `--yes`
127+ before repository access. See {ref}`cli-sync` and {ref}`migration`.
128+
129+ # ### Report resolved checkout targets in status (#590)
130+
131+ Status reports the native position, resolved target, configured policy, and
132+ whether their revisions differ. Aliases at one revision match; unavailable
133+ metadata remains unknown with an error. Status never fetches, including Git's
134+ implicit acquisition of missing partial-clone objects. Backend mismatches fail
135+ inspection instead of reporting a different VCS as healthy. See {ref}`cli-status`.
136+
89137# ### Configure partial clones and typed backend options (#589)
90138
91139` git` , `hg`, and `svn` blocks match their libvcs options classes. Loading
0 commit comments