view tests/mockblackbox.py @ 25776:809c3e4a9e31

convert: ignore case changes in vieworder for Perforce Perforce sometimes mixes the case resulting in files being ignored.
author Eugene Baranov <eug.baranov@gmail.com>
date Mon, 13 Jul 2015 15:05:03 +0100
parents 0ead0a07ed9c
children ac49ecb2a897
line wrap: on
line source

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