D5040: py3: use '%d' for rev nums instead of '%s'
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sat Oct 13 01:05:45 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa17c07793dcd: py3: use '%d' for rev nums instead of '%s' (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5040?vs=11974&id=11994
REVISION DETAIL
https://phab.mercurial-scm.org/D5040
AFFECTED FILES
contrib/python3-whitelist
hgext/closehead.py
CHANGE DETAILS
diff --git a/hgext/closehead.py b/hgext/closehead.py
--- a/hgext/closehead.py
+++ b/hgext/closehead.py
@@ -66,7 +66,7 @@
heads = set(repo[h].rev() for h in heads)
for rev in revs:
if rev not in heads:
- raise error.Abort(_('revision is not an open head: %s') % rev)
+ raise error.Abort(_('revision is not an open head: %d') % rev)
message = cmdutil.logmessage(ui, opts)
if not message:
diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist
--- a/contrib/python3-whitelist
+++ b/contrib/python3-whitelist
@@ -71,6 +71,7 @@
test-clone-update-order.t
test-clone.t
test-clonebundles.t
+test-close-head.t
test-commit-amend.t
test-commit-interactive.t
test-commit-multiple.t
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list