##// END OF EJS Templates
branchmap: report filtername when read fails...
Pierre-Yves David -
r18188:46ed5226 default
parent child Browse files
Show More
@@ -48,7 +48,11 b' def read(repo):'
48 raise
48 raise
49 except Exception, inst:
49 except Exception, inst:
50 if repo.ui.debugflag:
50 if repo.ui.debugflag:
51 repo.ui.warn(('invalid branchheads cache: %s\n') % inst)
51 msg = 'invalid branchheads cache'
52 if repo.filtername is not None:
53 msg += ' (%s)' % repo.filtername
54 msg += ': %s\n'
55 repo.ui.warn(msg % inst)
52 partial = branchcache()
56 partial = branchcache()
53 return partial
57 return partial
54
58
General Comments 0
You need to be logged in to leave comments. Login now