comparison mercurial/debugcommands.py @ 36399:a24c57f1f5c3

py3: use '%d' for integers instead of '%s' Differential Revision: https://phab.mercurial-scm.org/D2419
author Pulkit Goyal <7895pulkit@gmail.com>
date Sat, 24 Feb 2018 16:16:14 +0530
parents d639f60c8eb3
children 0cb09c322647
comparison
equal deleted inserted replaced
36398:eb73f8a6177e 36399:a24c57f1f5c3
558 """parse and display a date""" 558 """parse and display a date"""
559 if opts[r"extended"]: 559 if opts[r"extended"]:
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)
567 ui.write(("match: %s\n") % m(d[0])) 567 ui.write(("match: %s\n") % m(d[0]))
568 568