diff -r e70d6dbde713 -r 37d70ba1d9d1 mercurial/commands.py --- a/mercurial/commands.py Sun May 28 11:48:18 2017 -0700 +++ b/mercurial/commands.py Sun May 28 11:50:43 2017 -0700 @@ -1326,6 +1326,8 @@ contentopts = {'cg.version': cgversion} + if repo.ui.configbool('experimental', 'evolution.bundle-obsmarker', False): + contentopts['obsolescence'] = True bundle2.writenewbundle(ui, repo, 'bundle', fname, bversion, outgoing, contentopts, compression=bcompression, compopts=compopts)