changeset 12022:6b04f1e1aa8a

contrib/compress: compress should activate parentdelta
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sun, 22 Aug 2010 19:41:04 +0200
parents 42253a4d2be5
children 44c22dc193a4
files contrib/compress.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)