Skip to content
Snippets Groups Projects
Commit a17c0779 authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

py3: use '%d' for rev nums instead of '%s'

This makes test-close-head.t pass on Python 3.

Differential Revision: https://phab.mercurial-scm.org/D5040
parent f4893b59
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment