Show More
@@ -171,7 +171,8 b' def wrapui(ui):' | |||
|
171 | 171 | return |
|
172 | 172 | try: |
|
173 | 173 | ui._bbinlog = True |
|
174 | date = util.datestr(None, '%Y/%m/%d %H:%M:%S') | |
|
174 | default = self.configdate('devel', 'default-date') | |
|
175 | date = util.datestr(default, '%Y/%m/%d %H:%M:%S') | |
|
175 | 176 | user = util.getuser() |
|
176 | 177 | pid = '%d' % util.getpid() |
|
177 | 178 | formattedmsg = msg[0] % msg[1:] |
@@ -3,8 +3,7 b' from mercurial import (' | |||
|
3 | 3 | util, |
|
4 | 4 | ) |
|
5 | 5 | |
|
6 | def makedate(): | |
|
7 | return 0, 0 | |
|
6 | # XXX: we should probably offer a devel option to do this in blackbox directly | |
|
8 | 7 | def getuser(): |
|
9 | 8 | return 'bob' |
|
10 | 9 | def getpid(): |
@@ -12,6 +11,5 b' def getpid():' | |||
|
12 | 11 | |
|
13 | 12 | # mock the date and user apis so the output is always the same |
|
14 | 13 | def uisetup(ui): |
|
15 | util.makedate = makedate | |
|
16 | 14 | util.getuser = getuser |
|
17 | 15 | util.getpid = getpid |
General Comments 0
You need to be logged in to leave comments.
Login now