# HG changeset patch # User Augie Fackler # Date 1487175721 18000 # Node ID f01df5d2fe493376a67569756a9bc2ddffa5cd81 # Parent afaf3c2b129c8940387fd9928ae4fdc28259d13c# Parent aa25989b0658dcefbd4c1bce7c389f006f22af30 merge with stable diff -r afaf3c2b129c -r f01df5d2fe49 mercurial/bundle2.py --- a/mercurial/bundle2.py Mon Feb 13 15:04:46 2017 -0800 +++ b/mercurial/bundle2.py Wed Feb 15 11:22:01 2017 -0500 @@ -515,7 +515,7 @@ """setup core part compression to """ if alg in (None, 'UN'): return - assert not any(n.lower() == 'Compression' for n, v in self._params) + assert not any(n.lower() == 'compression' for n, v in self._params) self.addparam('Compression', alg) self._compengine = util.compengines.forbundletype(alg) self._compopts = compopts