shelve: compress on-disk bundle
authorPierre-Yves David <pierre-yves.david@fb.com>
Tue, 29 Sep 2015 17:14:30 -0700
changeset 26505 6086ddc1fdc6
parent 26504 875e5d89dc86
child 26506 edecf059fda6
shelve: compress on-disk bundle Shelve is using 'HG10UN' bundle for no obvious reason. Changing this to 'HG10BZ' as we do for other bundle stored on disk.
hgext/shelve.py
--- a/hgext/shelve.py	Wed Oct 07 13:44:48 2015 -0500
+++ b/hgext/shelve.py	Tue Sep 29 17:14:30 2015 -0700
@@ -106,7 +106,7 @@
         return bundlerepo.bundlerepository(self.repo.baseui, self.repo.root,
                                            self.vfs.join(self.fname))
     def writebundle(self, cg):
-        changegroup.writebundle(self.ui, cg, self.fname, 'HG10UN', self.vfs)
+        changegroup.writebundle(self.ui, cg, self.fname, 'HG10BZ', self.vfs)
 
 class shelvedstate(object):
     """Handle persistence during unshelving operations.