##// 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 197 ctx = ui._bbrepo[None]
198 198 parents = ctx.parents()
199 199 rev = ('+'.join([hex(p.node()) for p in parents]))
200 if (ui.configbool('blackbox', 'dirty') and (
201 any(ui._bbrepo.status()) or
202 any(ctx.sub(s).dirty() for s in ctx.substate)
203 )):
200 if (ui.configbool('blackbox', 'dirty') and
201 ctx.dirty(missing=True, merge=False, branch=False)):
204 202 changed = '+'
205 203 if ui.configbool('blackbox', 'logsource'):
206 204 src = ' [%s]' % event
General Comments 0
You need to be logged in to leave comments. Login now