D2428: cmdutil: use ctx.rev() instead of %d % ctx
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Sat Feb 24 20:54:09 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGfd2191d870ff: cmdutil: use ctx.rev() instead of %d % ctx (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2428?vs=6060&id=6073
REVISION DETAIL
https://phab.mercurial-scm.org/D2428
AFFECTED FILES
mercurial/cmdutil.py
CHANGE DETAILS
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -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()))
To: indygreg, #hg-reviewers, yuja
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list