repair: forbid strip from inside a transaction
Stripping inside a transaction will (at best) crash or (at worst)
result in very unexpected results. We explicitly forbid it early.
from mercurial import utildef makedate(): return 0, 0def getuser(): return 'bob'# mock the date and user apis so the output is always the samedef uisetup(ui): util.makedate = makedate util.getuser = getuser