##// END OF EJS Templates
shelve: refactor directory name into constant...
shelve: refactor directory name into constant Shelve directory name extracted into constant to avoid typos/duplication.

File last commit:

r28028:ac49ecb2 default
r28862:39130afc default
Show More
mockblackbox.py
14 lines | 284 B | text/x-python | PythonLexer
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