# HG changeset patch # User Matt Mackall # Date 1427807082 18000 # Node ID f5de208a635cd1b65d13df180d0c638edc53c55b # Parent 18ee81b3792889d8cd634edacb313397250b1bfd tags: remove scary message about corrupt tags cache Caches should be transparent. If a cache is damaged, it should silently be rebuilt, much like if it were invalid. No one seems to have ever hit this in the wild. diff -r 18ee81b37928 -r f5de208a635c mercurial/tags.py --- a/mercurial/tags.py Sun Mar 29 19:15:04 2015 +0200 +++ b/mercurial/tags.py Tue Mar 31 08:04:42 2015 -0500 @@ -272,7 +272,6 @@ cachefnode[headnode] = fnode except Exception: # corruption of the tags cache, just recompute it - ui.warn(_('.hg/cache/tags is corrupt, rebuilding it\n')) cacheheads = [] cacherevs = [] cachefnode = {} diff -r 18ee81b37928 -r f5de208a635c tests/test-tags.t --- a/tests/test-tags.t Sun Mar 29 19:15:04 2015 +0200 +++ b/tests/test-tags.t Tue Mar 31 08:04:42 2015 -0500 @@ -38,7 +38,6 @@ $ printf 'a b' > .hg/cache/tags $ hg identify - .hg/cache/tags is corrupt, rebuilding it acb14030fe0a tip $ cacheexists tag cache exists