Mercurial > hg
changeset 24532:f5de208a635c
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.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 31 Mar 2015 08:04:42 -0500 |
parents | 18ee81b37928 |
children | 888dcab69ca3 |
files | mercurial/tags.py tests/test-tags.t |
diffstat | 2 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 = {}