contrib/compress: compress should activate parentdelta
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sun, 22 Aug 2010 19:41:04 +0200
changeset 12022 6b04f1e1aa8a
parent 12021 42253a4d2be5
child 12023 44c22dc193a4
contrib/compress: compress should activate parentdelta
contrib/compress.py
--- a/contrib/compress.py	Sun Aug 22 19:27:09 2010 +0200
+++ b/contrib/compress.py	Sun Aug 22 19:41:04 2010 +0200
@@ -26,6 +26,8 @@
         progress(r)
 
 def compress(ui, repo, dest):
+    # activate parentdelta
+    ui.setconfig('format', 'parentdelta', 'on')
     dest = hg.localpath(ui.expandpath(dest))
     target = localrepo.instance(ui, dest, create=True)