Show More
@@ -299,7 +299,7 b' def checkworkingcopynarrowspec(repo):' | |||
|
299 | 299 | storespec = repo.svfs.tryread(FILENAME) |
|
300 | 300 | wcspec = repo.vfs.tryread(DIRSTATE_FILENAME) |
|
301 | 301 | if wcspec != storespec: |
|
302 |
raise error. |
|
|
302 | raise error.StateError( | |
|
303 | 303 | _(b"working copy's narrowspec is stale"), |
|
304 | 304 | hint=_(b"run 'hg tracked --update-working-copy'"), |
|
305 | 305 | ) |
@@ -100,7 +100,7 b' Narrow the share and check that the main' | |||
|
100 | 100 | $ hg -R main files |
|
101 | 101 | abort: working copy's narrowspec is stale |
|
102 | 102 | (run 'hg tracked --update-working-copy') |
|
103 |
[2 |
|
|
103 | [20] | |
|
104 | 104 | $ hg -R main tracked --update-working-copy |
|
105 | 105 | not deleting possibly dirty file d3/f |
|
106 | 106 | not deleting possibly dirty file d3/g |
@@ -138,7 +138,7 b' Widen the share and check that the main ' | |||
|
138 | 138 | $ hg -R main files |
|
139 | 139 | abort: working copy's narrowspec is stale |
|
140 | 140 | (run 'hg tracked --update-working-copy') |
|
141 |
[2 |
|
|
141 | [20] | |
|
142 | 142 | $ hg -R main tracked --update-working-copy |
|
143 | 143 | # d1/f, d3/f should be back |
|
144 | 144 | $ hg -R main files |
@@ -189,7 +189,7 b' Make it look like a repo from before nar' | |||
|
189 | 189 | $ hg ci -Am test |
|
190 | 190 | abort: working copy's narrowspec is stale |
|
191 | 191 | (run 'hg tracked --update-working-copy') |
|
192 |
[2 |
|
|
192 | [20] | |
|
193 | 193 | $ hg tracked --update-working-copy |
|
194 | 194 | $ hg st |
|
195 | 195 | M d1/f |
General Comments 0
You need to be logged in to leave comments.
Login now