##// END OF EJS Templates
blackbox: simplify the dirty check...
Matt Harbison -
r33361:66fe60d5 default
parent child Browse files
Show More
@@ -197,10 +197,8 b' def wrapui(ui):'
197 ctx = ui._bbrepo[None]
197 ctx = ui._bbrepo[None]
198 parents = ctx.parents()
198 parents = ctx.parents()
199 rev = ('+'.join([hex(p.node()) for p in parents]))
199 rev = ('+'.join([hex(p.node()) for p in parents]))
200 if (ui.configbool('blackbox', 'dirty') and (
200 if (ui.configbool('blackbox', 'dirty') and
201 any(ui._bbrepo.status()) or
201 ctx.dirty(missing=True, merge=False, branch=False)):
202 any(ctx.sub(s).dirty() for s in ctx.substate)
203 )):
204 changed = '+'
202 changed = '+'
205 if ui.configbool('blackbox', 'logsource'):
203 if ui.configbool('blackbox', 'logsource'):
206 src = ' [%s]' % event
204 src = ' [%s]' % event
General Comments 0
You need to be logged in to leave comments. Login now