mercurial/bundle2.py
changeset 33408 e3867c712d51
parent 33407 39d4e5a66f5a
child 33460 57a017f79e96
--- a/mercurial/bundle2.py	Tue Jul 11 05:11:52 2017 +0200
+++ b/mercurial/bundle2.py	Tue Jul 11 05:12:03 2017 +0200
@@ -1401,6 +1401,9 @@
     if 'clcount' in cg.extras:
         part.addparam('nbchanges', str(cg.extras['clcount']),
                       mandatory=False)
+    if opts.get('phases') and repo.revs('%ln and secret()',
+                                        outgoing.missingheads):
+        part.addparam('targetphase', '%d' % phases.secret, mandatory=False)
 
     addparttagsfnodescache(repo, bundler, outgoing)