Show More
@@ -204,7 +204,7 b' def findstorepath(repo, hash):' | |||||
204 | if instore(repo, hash): |
|
204 | if instore(repo, hash): | |
205 | return (path, True) |
|
205 | return (path, True) | |
206 | elif repo.shared() and instore(repo, hash, True): |
|
206 | elif repo.shared() and instore(repo, hash, True): | |
207 | return storepath(repo, hash, True) |
|
207 | return storepath(repo, hash, True), True | |
208 |
|
208 | |||
209 | return (path, False) |
|
209 | return (path, False) | |
210 |
|
210 |
@@ -186,6 +186,10 b' conditional above.' | |||||
186 | src/.hg/largefiles/dirstate |
|
186 | src/.hg/largefiles/dirstate | |
187 | src/.hg/largefiles/e2fb5f2139d086ded2cb600d5a91a196e76bf020 |
|
187 | src/.hg/largefiles/e2fb5f2139d086ded2cb600d5a91a196e76bf020 | |
188 |
|
188 | |||
|
189 | Verify that backwards compatibility is maintained for old storage layout | |||
|
190 | $ mv src/.hg/largefiles/$hash share_dst/.hg/largefiles | |||
|
191 | $ hg verify --quiet --lfa -R share_dst --config largefiles.usercache= | |||
|
192 | ||||
189 | Inject corruption into the largefiles store and see how update handles that: |
|
193 | Inject corruption into the largefiles store and see how update handles that: | |
190 |
|
194 | |||
191 | $ cd src |
|
195 | $ cd src |
General Comments 0
You need to be logged in to leave comments.
Login now