scripts: remove code for special handling of generaldelta; r=sheehan
authorGregory Szorc <>
Fri, 20 Apr 2018 14:03:39 -0700
changeset 5858 bd13917afa61
parent 5857 a73495cad23b
child 5859 2531f3f69030
push id2719
push date2018-04-20 21:03 +0000
treeherderversion-control-tools@bd13917afa61 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
scripts: remove code for special handling of generaldelta; r=sheehan generaldelta has been the default for new Mercurial repos for probably 2 years now. Setting format.generaldelta=true had no effect because it was redundant with the default. So stop doing that. Differential Revision:
--- a/scripts/sync-hg-repos-from-manifest
+++ b/scripts/sync-hg-repos-from-manifest
@@ -44,18 +44,16 @@ class CloneError(Exception):
 def clone_or_pull(rel, path, requires, url, user, group):
     is_clone = False
         if not os.path.exists(path):
             is_clone = True
             args = [HG, 'init', path]
-            if 'generaldelta' in requires:
-                args.extend(['--config', 'format.generaldelta=true'])
             print('creating empty repo: %s' % path)
             subprocess.check_output(args, cwd='/', stderr=subprocess.STDOUT)
         # Disable clonebundles to ensure the client doesn't use stream clone and
         # recreates the store and revlogs from scratch.
         args = [HG, '--config', 'ui.clonebundles=false', '-R', path, 'pull', url]
         subprocess.check_output(args, cwd='/', stderr=subprocess.STDOUT)