Mercurial > hg-stable
changeset 26268:a91d7dfd1952
writebundle: use 'None' instead of 'UN' for the bundle2 case
Let's be modern!
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Tue, 15 Sep 2015 17:43:54 -0700 |
parents | eca468b8fae4 |
children | 521b4d061d4a |
files | mercurial/changegroup.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/changegroup.py Tue Sep 15 17:53:28 2015 -0700 +++ b/mercurial/changegroup.py Tue Sep 15 17:43:54 2015 -0700 @@ -119,7 +119,7 @@ bundle = bundle2.bundle20(ui) part = bundle.newpart('changegroup', data=cg.getchunks()) part.addparam('version', cg.version) - z = util.compressors['UN']() + z = util.compressors[None]() chunkiter = bundle.getchunks() else: if cg.version != '01':