commands: make --rev and --index compatible in debugobsolete
from mercurial import utildef makedate(): return 0, 0def getuser(): return 'bob'def getpid(): return 5000# mock the date and user apis so the output is always the samedef uisetup(ui): util.makedate = makedate util.getuser = getuser util.getpid = getpid