mercurial/phases.py
changeset 33409 50243c975fc2
parent 33031 e8c8d81eb864
child 33449 5747967e257c
--- a/mercurial/phases.py	Tue Jul 11 05:12:03 2017 +0200
+++ b/mercurial/phases.py	Tue Jul 11 05:06:01 2017 +0200
@@ -448,10 +448,6 @@
 
 def updatephases(repo, tr, headsbyphase, addednodes):
     """Updates the repo with the given phase heads"""
-    # First make all the added revisions secret because changegroup.apply()
-    # currently sets the phase to draft.
-    retractboundary(repo, tr, secret, addednodes)
-
     # Now advance phase boundaries of all but secret phase
     for phase in allphases[:-1]:
         advanceboundary(repo, tr, phase, headsbyphase[phase])