diff mercurial/commands.py @ 37008:66c0ff381cfc

bundle: condition the changegroup part when creating a new bundle We will generate stream bundle in the next changesets which doesn't need the changegroup part. Differential Revision: https://phab.mercurial-scm.org/D1951
author Boris Feld <boris.feld@octobus.net>
date Wed, 31 Jan 2018 09:41:47 +0100
parents 1bf555cb680e
children e2a0aaec7d86
line wrap: on
line diff
--- a/mercurial/commands.py	Fri Jan 19 17:29:50 2018 +0100
+++ b/mercurial/commands.py	Wed Jan 31 09:41:47 2018 +0100
@@ -1263,7 +1263,7 @@
         compopts['level'] = complevel
 
 
-    contentopts = {'cg.version': cgversion}
+    contentopts = {'cg.version': cgversion, 'changegroup': True}
     if repo.ui.configbool('experimental', 'evolution.bundle-obsmarker'):
         contentopts['obsolescence'] = True
     if repo.ui.configbool('experimental', 'bundle-phases'):