Mercurial > hg
diff mercurial/bundle2.py @ 26269:521b4d061d4a
bundle: use None when unpacking uncompressed changegroup
Let's be more modern!
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 11 Sep 2015 17:05:46 -0700 |
parents | 4bc3707f3e67 |
children | cff70549a959 |
line wrap: on
line diff
--- a/mercurial/bundle2.py Tue Sep 15 17:43:54 2015 -0700 +++ b/mercurial/bundle2.py Fri Sep 11 17:05:46 2015 -0700 @@ -1174,7 +1174,7 @@ unpackerversion = inpart.params.get('version', '01') # We should raise an appropriate exception here unpacker = changegroup.packermap[unpackerversion][1] - cg = unpacker(inpart, 'UN') + cg = unpacker(inpart, None) # the source and url passed here are overwritten by the one contained in # the transaction.hookargs argument. So 'bundle2' is a placeholder nbchangesets = None