diff --git a/mercurial/tags.py b/mercurial/tags.py --- a/mercurial/tags.py +++ b/mercurial/tags.py @@ -272,7 +272,6 @@ def _readtagcache(ui, repo): 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 --git a/tests/test-tags.t b/tests/test-tags.t --- a/tests/test-tags.t +++ b/tests/test-tags.t @@ -38,7 +38,6 @@ Try corrupting the cache $ printf 'a b' > .hg/cache/tags $ hg identify - .hg/cache/tags is corrupt, rebuilding it acb14030fe0a tip $ cacheexists tag cache exists