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
If you have a multi-branch repo with uncommitted working copy changes, Sno appears to prevent switching branches, displaying an error:
$ sno checkout master
Updating my-data.gpkg ...
commit=36d385a54610216921ef23276932e4286ee9b64e head_ref=refs/heads/master
Error: You have uncommitted changes in your working copy. Commit or use --force to discard.
However the active branch is still switched, which is surprising. This should have rejected the switch and returned the repo to it's original state.
Full example. Note that branch change.
$ sno status
On branch other-branch
Changes in working copy:
(use "sno commit" to commit)
(use "sno reset" to discard changes)
nz_chatham_island_road_centrelines_topo_1250k:
feature:
1 inserts
$ sno checkout master
Updating layer-50141.gpkg ...
commit=36d385a54610216921ef23276932e4286ee9b64e head_ref=refs/heads/master
Error: You have uncommitted changes in your working copy. Commit or use --force to discard.
$ sno status
On branch master
Your branch is up to date with 'origin/master'.
Changes in working copy:
(use "sno commit" to commit)
(use "sno reset" to discard changes)
nz_chatham_island_road_centrelines_topo_1250k:
feature:
1 inserts
The text was updated successfully, but these errors were encountered:
If you have a multi-branch repo with uncommitted working copy changes, Sno appears to prevent switching branches, displaying an error:
However the active branch is still switched, which is surprising. This should have rejected the switch and returned the repo to it's original state.
Full example. Note that branch change.
The text was updated successfully, but these errors were encountered: