##// END OF EJS Templates
filemerge: clean up temp files in a finally block...
filemerge: clean up temp files in a finally block This isn't really a big deal because the temp files are created in $TMPDIR, but it makes some upcoming work simpler.

File last commit:

r24705:0ead0a07 default
r26589:fb388aa2 default
Show More
mockblackbox.py
11 lines | 229 B | text/x-python | PythonLexer
Gregory Szorc
tests: move mock blackbox extension into own file...
r24705 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