##// END OF EJS Templates
revlog: rename some "text"s to "rawtext"...
revlog: rename some "text"s to "rawtext" This makes code easier to understand. "_addrevision" is left untouched - it will be changed in a later patch.

File last commit:

r28943:417380aa default
r31750:f319981c default
Show More
mockblackbox.py
17 lines | 332 B | text/x-python | PythonLexer
from __future__ import absolute_import
from mercurial import (
util,
)
def makedate():
return 0, 0
def getuser():
return 'bob'
def getpid():
return 5000
# mock the date and user apis so the output is always the same
def uisetup(ui):
util.makedate = makedate
util.getuser = getuser
util.getpid = getpid