Mercurial > public > mercurial-scm > hg-stable
diff mercurial/phases.py @ 33460:57a017f79e96
phases: remove trace of addednodes in the 'phase-heads' handling
updatephases have no use of the 'addednodes' parameter since 50243c975fc2.
However caller are still passing it for nothing, remove the parameter and
remove computing of the added nodes in caller.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 13 Jul 2017 21:10:55 +0200 |
parents | cf694e6422f0 |
children | 5779d096a696 |
line wrap: on
line diff
--- a/mercurial/phases.py Wed Jul 12 22:39:48 2017 +0200 +++ b/mercurial/phases.py Thu Jul 13 21:10:55 2017 +0200 @@ -527,7 +527,7 @@ headsbyphase[phase] = [cl.node(r) for r in repo.revs(revset, subset)] return headsbyphase -def updatephases(repo, tr, headsbyphase, addednodes): +def updatephases(repo, tr, headsbyphase): """Updates the repo with the given phase heads""" # Now advance phase boundaries of all but secret phase for phase in allphases[:-1]: