convert: specify unit for ui.progress when scanning paths
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