Show More
@@ -185,7 +185,7 b' def _readtagcache(ui, repo):' | |||||
185 | if len(line) == 3: |
|
185 | if len(line) == 3: | |
186 | fnode = bin(line[2]) |
|
186 | fnode = bin(line[2]) | |
187 | cachefnode[headnode] = fnode |
|
187 | cachefnode[headnode] = fnode | |
188 | except (ValueError, TypeError): |
|
188 | except Exception: | |
189 | # corruption of the tags cache, just recompute it |
|
189 | # corruption of the tags cache, just recompute it | |
190 | ui.warn(_('.hg/cache/tags is corrupt, rebuilding it\n')) |
|
190 | ui.warn(_('.hg/cache/tags is corrupt, rebuilding it\n')) | |
191 | cacheheads = [] |
|
191 | cacheheads = [] |
General Comments 0
You need to be logged in to leave comments.
Login now