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.
--- 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