Skip to content

Conversation

@Ojaybee
Copy link

@Ojaybee Ojaybee commented Jan 6, 2026

Addresses the “Pending changes on server…” issue described in #21
This change introduces a temporary working directory populated using hard links. Hard links are explicitly broken for non-media files (e.g. .mergin directory, GeoPackage files) to prevent modification of original data.
If the Mergin Maps server project version changes between the pull and push phases, the temporary working directory is discarded and the daemon retries the sync on the next cycle instead of failing.
The fix currently applies to copy mode only.
Changes from #40 are included to improve logging and facilitate testing and validation of the new behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant