Comments
Patch
@@ -171,7 +171,8 @@
return
try:
ui._bbinlog = True
- date = util.datestr(None, '%Y/%m/%d %H:%M:%S')
+ default = self.configdate('devel', 'default-date')
+ date = util.datestr(default, '%Y/%m/%d %H:%M:%S')
user = util.getuser()
pid = '%d' % util.getpid()
formattedmsg = msg[0] % msg[1:]
@@ -3,8 +3,7 @@
util,
)
-def makedate():
- return 0, 0
+# XXX: we should probably offer a devel option to do this in blackbox directly
def getuser():
return 'bob'
def getpid():
@@ -12,6 +11,5 @@
# mock the date and user apis so the output is always the same
def uisetup(ui):
- util.makedate = makedate
util.getuser = getuser
util.getpid = getpid