Show More
@@ -272,7 +272,6 b' def _readtagcache(ui, repo):' | |||||
272 | cachefnode[headnode] = fnode |
|
272 | cachefnode[headnode] = fnode | |
273 | except Exception: |
|
273 | except Exception: | |
274 | # corruption of the tags cache, just recompute it |
|
274 | # corruption of the tags cache, just recompute it | |
275 | ui.warn(_('.hg/cache/tags is corrupt, rebuilding it\n')) |
|
|||
276 | cacheheads = [] |
|
275 | cacheheads = [] | |
277 | cacherevs = [] |
|
276 | cacherevs = [] | |
278 | cachefnode = {} |
|
277 | cachefnode = {} |
@@ -38,7 +38,6 b' Try corrupting the cache' | |||||
38 |
|
38 | |||
39 | $ printf 'a b' > .hg/cache/tags |
|
39 | $ printf 'a b' > .hg/cache/tags | |
40 | $ hg identify |
|
40 | $ hg identify | |
41 | .hg/cache/tags is corrupt, rebuilding it |
|
|||
42 | acb14030fe0a tip |
|
41 | acb14030fe0a tip | |
43 | $ cacheexists |
|
42 | $ cacheexists | |
44 | tag cache exists |
|
43 | tag cache exists |
General Comments 0
You need to be logged in to leave comments.
Login now