durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers.
REVISION SUMMARY The latter returns a generator object on Python 3, which breaks various parts of hg that expected a list. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1100 AFFECTED FILES mercurial/wireproto.py CHANGE DETAILS diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py --- a/mercurial/wireproto.py +++ b/mercurial/wireproto.py @@ -153,7 +153,7 @@ def decodelist(l, sep=' '): if l: - return map(bin, l.split(sep)) + return [bin(v) for v in l.split(sep)] return [] def encodelist(l, sep=' '): To: durin42, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel