Show More
@@ -61,6 +61,9 command = registrar.command(cmdtable) | |||
|
61 | 61 | configtable = {} |
|
62 | 62 | configitem = registrar.configitem(configtable) |
|
63 | 63 | |
|
64 | configitem('blackbox', 'dirty', | |
|
65 | default=False, | |
|
66 | ) | |
|
64 | 67 | configitem('blackbox', 'maxsize', |
|
65 | 68 | default='1 MB', |
|
66 | 69 | ) |
@@ -191,7 +194,7 def wrapui(ui): | |||
|
191 | 194 | ctx = ui._bbrepo[None] |
|
192 | 195 | parents = ctx.parents() |
|
193 | 196 | rev = ('+'.join([hex(p.node()) for p in parents])) |
|
194 |
if (ui.configbool('blackbox', 'dirty' |
|
|
197 | if (ui.configbool('blackbox', 'dirty') and ( | |
|
195 | 198 | any(ui._bbrepo.status()) or |
|
196 | 199 | any(ctx.sub(s).dirty() for s in ctx.substate) |
|
197 | 200 | )): |
General Comments 0
You need to be logged in to leave comments.
Login now