tests/mockblackbox.py
author Durham Goode <durham@fb.com>
Wed, 20 May 2015 14:54:09 -0700
changeset 25284 7072b91ccd20
parent 24705 0ead0a07ed9c
child 28028 ac49ecb2a897
permissions -rw-r--r--
help: add documentation on include: and subinclude: Adds some help text about the new include: and subinclude: match syntax.

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