You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a dry_run mode to LockedWorkingCopy snapshot method.
At Google, we are implementing a tool that needs to know the state of the jj repo constantly. Always snapshotting and updating .jj/working_copy/checkout increases the likelihood of write races. To fix this, I'd like to add a --dry-run flag to SnapshotOptions to make it not update the working copy. This is similar to the request in jj-vcs#2562
Implement
0 commit comments