mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
12 lines
229 B
Python
12 lines
229 B
Python
|
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
|