Mercurial > hg
changeset 36406:fd2191d870ff
cmdutil: use ctx.rev() instead of %d % ctx
Weaning off basectx.__int__.
Differential Revision: https://phab.mercurial-scm.org/D2428
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 24 Feb 2018 11:13:36 -0800 |
parents | 0b57596253b8 |
children | a75cab94e936 |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Sat Feb 24 11:07:07 2018 -0800 +++ b/mercurial/cmdutil.py Sat Feb 24 11:13:36 2018 -0800 @@ -2575,7 +2575,7 @@ if not opts.get('close_branch'): for r in parents: if r.closesbranch() and r.branch() == branch: - repo.ui.status(_('reopening closed branch head %d\n') % r) + repo.ui.status(_('reopening closed branch head %d\n') % r.rev()) if repo.ui.debugflag: repo.ui.write(_('committed changeset %d:%s\n') % (ctx.rev(), ctx.hex()))