Show More
@@ -173,7 +173,7 b' def wrapui(ui):' | |||||
173 | ui._bbinlog = True |
|
173 | ui._bbinlog = True | |
174 | date = util.datestr(None, '%Y/%m/%d %H:%M:%S') |
|
174 | date = util.datestr(None, '%Y/%m/%d %H:%M:%S') | |
175 | user = util.getuser() |
|
175 | user = util.getuser() | |
176 |
pid = |
|
176 | pid = '%d' % util.getpid() | |
177 | formattedmsg = msg[0] % msg[1:] |
|
177 | formattedmsg = msg[0] % msg[1:] | |
178 | rev = '(unknown)' |
|
178 | rev = '(unknown)' | |
179 | changed = '' |
|
179 | changed = '' |
@@ -1361,7 +1361,7 b' class jsonchangeset(changeset_printer):' | |||||
1361 | if rev is None: |
|
1361 | if rev is None: | |
1362 | jrev = jnode = 'null' |
|
1362 | jrev = jnode = 'null' | |
1363 | else: |
|
1363 | else: | |
1364 |
jrev = |
|
1364 | jrev = '%d' % rev | |
1365 | jnode = '"%s"' % hex(ctx.node()) |
|
1365 | jnode = '"%s"' % hex(ctx.node()) | |
1366 | j = encoding.jsonescape |
|
1366 | j = encoding.jsonescape | |
1367 |
|
1367 | |||
@@ -1608,7 +1608,7 b' def finddate(ui, repo, date):' | |||||
1608 | if rev in results: |
|
1608 | if rev in results: | |
1609 | ui.status(_("found revision %s from %s\n") % |
|
1609 | ui.status(_("found revision %s from %s\n") % | |
1610 | (rev, util.datestr(results[rev]))) |
|
1610 | (rev, util.datestr(results[rev]))) | |
1611 |
return |
|
1611 | return '%d' % rev | |
1612 |
|
1612 | |||
1613 | raise error.Abort(_("revision matching date not found")) |
|
1613 | raise error.Abort(_("revision matching date not found")) | |
1614 |
|
1614 |
General Comments 0
You need to be logged in to leave comments.
Login now