##// END OF EJS Templates
py3: use '%d' for integers instead of '%s'...
Pulkit Goyal -
r36417:a24c57f1 default
parent child Browse files
Show More
@@ -560,7 +560,7 b' def debugdate(ui, date, range=None, **op'
560 d = util.parsedate(date, util.extendeddateformats)
560 d = util.parsedate(date, util.extendeddateformats)
561 else:
561 else:
562 d = util.parsedate(date)
562 d = util.parsedate(date)
563 ui.write(("internal: %s %s\n") % d)
563 ui.write(("internal: %d %d\n") % d)
564 ui.write(("standard: %s\n") % util.datestr(d))
564 ui.write(("standard: %s\n") % util.datestr(d))
565 if range:
565 if range:
566 m = util.matchdate(range)
566 m = util.matchdate(range)
@@ -276,7 +276,7 b' def _readtaghist(ui, repo, lines, fn, re'
276 count = 0
276 count = 0
277
277
278 def dbg(msg):
278 def dbg(msg):
279 ui.debug("%s, line %s: %s\n" % (fn, count, msg))
279 ui.debug("%s, line %d: %s\n" % (fn, count, msg))
280
280
281 for nline, line in enumerate(lines):
281 for nline, line in enumerate(lines):
282 count += 1
282 count += 1
General Comments 0
You need to be logged in to leave comments. Login now