D2446: bundle2: part id is an int, use %d to make it bytes
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon Feb 26 06:02:17 UTC 2018
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2446
AFFECTED FILES
mercurial/bundle2.py
CHANGE DETAILS
diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py
--- a/mercurial/bundle2.py
+++ b/mercurial/bundle2.py
@@ -2002,7 +2002,7 @@
for key in ('namespace', 'key', 'new', 'old', 'ret'):
if key in inpart.params:
kwargs[key] = inpart.params[key]
- raise error.PushkeyFailed(partid=str(inpart.id),
+ raise error.PushkeyFailed(partid='%d' % inpart.id,
**pycompat.strkwargs(kwargs))
@parthandler('bookmarks')
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list