diff hgext/shelve.py @ 26505:6086ddc1fdc6

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.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 29 Sep 2015 17:14:30 -0700
parents 870e361e049c
children edecf059fda6
line wrap: on
line diff
--- 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.