bookmarks: add 'hg push -B .' for pushing the active bookmark (issue4917)
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