changeset 14020 | 98f79a5c3086 |
parent 13341 | 4e33ef68b1f8 |
child 14038 | 0e6f622f31ca |
--- a/mercurial/tags.py Mon Apr 25 17:01:34 2011 -0500 +++ b/mercurial/tags.py Tue Apr 26 10:51:19 2011 -0500 @@ -185,7 +185,7 @@ if len(line) == 3: fnode = bin(line[2]) cachefnode[headnode] = fnode - except (ValueError, TypeError): + except Exception: # corruption of the tags cache, just recompute it ui.warn(_('.hg/cache/tags is corrupt, rebuilding it\n')) cacheheads = []