Mercurial > hg
view tests/mockblackbox.py @ 26772:d9a0cf97651e
test: enforce v1 type in 'test-bundle2-format.t'
This bundle command is meant to generate a bundle1, we enforce that to avoid
test's misbehavior when moving to general-delta by default.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 16 Oct 2015 02:51:34 +0100 |
parents | 0ead0a07ed9c |
children | ac49ecb2a897 |
line wrap: on
line source
from mercurial import util def makedate(): return 0, 0 def getuser(): return 'bob' # mock the date and user apis so the output is always the same def uisetup(ui): util.makedate = makedate util.getuser = getuser