mercurial/changegroup.py
changeset 22069 616a455b02ca
parent 22041 97f86ce79abe
child 22070 c1ca47204590
--- a/mercurial/changegroup.py	Wed Aug 06 00:54:37 2014 -0700
+++ b/mercurial/changegroup.py	Wed Aug 06 01:54:19 2014 -0700
@@ -700,12 +700,12 @@
             # We should not use added here but the list of all change in
             # the bundle
             if publishing:
-                phases.advanceboundary(repo, phases.public, srccontent)
+                phases.advanceboundary(repo, tr, phases.public, srccontent)
             else:
                 # Those changesets have been pushed from the outside, their
                 # phases are going to be pushed alongside. Therefor
                 # `targetphase` is ignored.
-                phases.advanceboundary(repo, phases.draft, srccontent)
+                phases.advanceboundary(repo, tr, phases.draft, srccontent)
                 phases.retractboundary(repo, phases.draft, added)
         elif srctype != 'strip':
             # publishing only alter behavior during push