# HG changeset patch # User Eric Sumner # Date 1423180610 28800 # Node ID 184a2f6f40da97768781334fa580795e4f270dc8 # Parent de32e9881698bfe6536cee497bdff81dc928fa85 bundle2.unbundle20: add compressed() method Bundlerepo uses the compressed() method to determine whether it should write an uncompressed temporary file. Since we don't support compressed bundle2 files at the moment, make this method return true. diff -r de32e9881698 -r 184a2f6f40da mercurial/bundle2.py --- a/mercurial/bundle2.py Thu Feb 05 15:52:57 2015 -0800 +++ b/mercurial/bundle2.py Thu Feb 05 15:56:50 2015 -0800 @@ -607,6 +607,8 @@ return self._readexact(headersize) return None + def compressed(self): + return False class bundlepart(object): """A bundle2 part contains application level payload