##// END OF EJS Templates
Print less scary warning when invalidating the branch cache.
Thomas Arendsen Hein -
r6056:0ad2ffbf default
parent child Browse files
Show More
@@ -369,7 +369,7 b' class localrepository(repo.repository):'
369 if not (lrev < self.changelog.count() and
369 if not (lrev < self.changelog.count() and
370 self.changelog.node(lrev) == last): # sanity check
370 self.changelog.node(lrev) == last): # sanity check
371 # invalidate the cache
371 # invalidate the cache
372 raise ValueError('Invalid branch cache: unknown tip')
372 raise ValueError('invalidating branch cache (tip differs)')
373 for l in lines:
373 for l in lines:
374 if not l: continue
374 if not l: continue
375 node, label = l.split(" ", 1)
375 node, label = l.split(" ", 1)
@@ -63,7 +63,7 b' user: test'
63 date: Mon Jan 12 13:46:40 1970 +0000
63 date: Mon Jan 12 13:46:40 1970 +0000
64 summary: modify a branch
64 summary: modify a branch
65
65
66 Invalid branch cache: unknown tip
66 invalidating branch cache (tip differs)
67 changeset: 4:4909a3732169c0c20011c4f4b8fdff4e3d89b23f
67 changeset: 4:4909a3732169c0c20011c4f4b8fdff4e3d89b23f
68 branch: foo
68 branch: foo
69 tag: tip
69 tag: tip
General Comments 0
You need to be logged in to leave comments. Login now