generate-hg-s3-bundles: use core command for producing stream clone bundles (bug 1352494); r?glob draft
authorGregory Szorc <gps@mozilla.com>
Fri, 31 Mar 2017 14:20:49 -0700
changeset 10603 ef7f1aa646f17749ba082bce4ca24a604b213375
parent 10602 d4ad538839194ba976bc76237687617e8ab757b3
child 10604 a4aa21df3c60fba3d53eff2253ba8a3dd5548568
push id1596
push userbmo:gps@mozilla.com
push dateFri, 31 Mar 2017 21:38:22 +0000
reviewersglob
bugs1352494
generate-hg-s3-bundles: use core command for producing stream clone bundles (bug 1352494); r?glob The current behavior of generate-hg-s3-bundles is to call a command in the bundleclone extension for producing a modern stream clone bundle. If my recollection is correct, we implemented this functionality in bundleclone to allow us to produce stream clone bundles before deploying a new version of Mercurial that had built-in support for this functionality. Now that we have a modern version of Mercurial deployed, we don't need to call the custom command implementation. So, this commit switches us to the implementation in core Mercurial. MozReview-Commit-ID: HI6CZYDwQ3h
scripts/generate-hg-s3-bundles
--- a/scripts/generate-hg-s3-bundles
+++ b/scripts/generate-hg-s3-bundles
@@ -33,18 +33,18 @@ CREATES = [
     ('gzip-v2', ['bundle', '-a', '-t', 'gzip-v2'], {'gd': True}),
     ('bzip2', ['bundle', '-a', '-t', 'bzip2-v1'], {}),
     # ``zstd`` uses default compression settings and is reasonably fast.
     # ``zstd-max`` uses the highest available compression settings and is
     # absurdly slow. But it produces significantly smaller bundles.
     ('zstd', ['bundle', '-a', '-t', 'zstd-v2'], {'all': True}),
     ('zstd-max', ['--config', 'experimental.bundlecomplevel=21',
                   'bundle', '-a', '-t', 'zstd-v2'], {'all': True}),
-    ('packed1', ['streambundle', '--type', 's1'], {}),
-    ('packed1-gd', ['streambundle', '--type', 's1'], {'gd': True}),
+    ('packed1', ['debugcreatestreamclonebundle'], {}),
+    ('packed1-gd', ['debugcreatestreamclonebundle'], {'gd': True}),
 ]
 
 CLONEBUNDLES_ORDER = [
     ('zstd-max', 'BUNDLESPEC=zstd-v2'),
     ('zstd', 'BUNDLESPEC=zstd-v2'),
     ('gzip-v2', 'BUNDLESPEC=gzip-v2'),
     ('gzip', 'BUNDLESPEC=gzip-v1'),
     ('bzip2', 'BUNDLESPEC=bzip2-v1'),