diff mercurial/localrepo.py @ 6056:0ad2ffbf6b38

Print less scary warning when invalidating the branch cache.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 09 Feb 2008 18:58:31 +0100
parents 30d2fecaab76
children 88b4d726332a
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sat Feb 09 17:36:42 2008 +0100
+++ b/mercurial/localrepo.py	Sat Feb 09 18:58:31 2008 +0100
@@ -369,7 +369,7 @@
             if not (lrev < self.changelog.count() and
                     self.changelog.node(lrev) == last): # sanity check
                 # invalidate the cache
-                raise ValueError('Invalid branch cache: unknown tip')
+                raise ValueError('invalidating branch cache (tip differs)')
             for l in lines:
                 if not l: continue
                 node, label = l.split(" ", 1)