##// END OF EJS Templates
blackbox: remove hexfn...
timeless -
r28304:6b38888a default
parent child Browse files
Show More
@@ -71,12 +71,6 b' def _closelog(vfs):'
71 71 del filehandles[path]
72 72 fp.close()
73 73
74 def hexfn(node):
75 if node is None:
76 return None
77 else:
78 return hex(node)
79
80 74 def wrapui(ui):
81 75 class blackboxui(ui.__class__):
82 76 def __init__(self, src=None):
@@ -173,11 +167,8 b' def wrapui(ui):'
173 167 changed = ''
174 168 if ui._bbrepo:
175 169 ctx = ui._bbrepo[None]
176 if ctx.rev() is not None:
177 rev = hexfn(ctx.node())
178 else:
179 170 parents = ctx.parents()
180 rev = ('+'.join([hexfn(p.node()) for p in parents]))
171 rev = ('+'.join([hex(p.node()) for p in parents]))
181 172 if (ui.configbool('blackbox', 'dirty', False) and (
182 173 any(ui._bbrepo.status()) or
183 174 any(ctx.sub(s).dirty() for s in ctx.substate)
General Comments 0
You need to be logged in to leave comments. Login now