comparison mercurial/hg.py @ 37579:ce566e0f73d0

py3: use '%d' for integers instead of '%s' Differential Revision: https://phab.mercurial-scm.org/D3277
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 12 Apr 2018 14:30:37 +0530
parents 7c848ab13eff
children ce8828217369
comparison
equal deleted inserted replaced
37578:56df2ca5c032 37579:ce566e0f73d0
1019 for subpath in ctx.substate: 1019 for subpath in ctx.substate:
1020 try: 1020 try:
1021 ret = (ctx.sub(subpath, allowcreate=False).verify() 1021 ret = (ctx.sub(subpath, allowcreate=False).verify()
1022 or ret) 1022 or ret)
1023 except error.RepoError as e: 1023 except error.RepoError as e:
1024 repo.ui.warn(('%s: %s\n') % (rev, e)) 1024 repo.ui.warn(('%d: %s\n') % (rev, e))
1025 except Exception: 1025 except Exception:
1026 repo.ui.warn(_('.hgsubstate is corrupt in revision %s\n') % 1026 repo.ui.warn(_('.hgsubstate is corrupt in revision %s\n') %
1027 node.short(ctx.node())) 1027 node.short(ctx.node()))
1028 1028
1029 return ret 1029 return ret