evolve: remove not required calls to phases.retractboundary()
To make sure phases are preserved during evolve, we started using the
phases.new-commit config option. Now we don't need to call
phases.retractboundary(). Let's remove the redundant code.
--- a/hgext3rd/evolve/__init__.py Tue Jan 16 17:14:32 2018 +0530
+++ b/hgext3rd/evolve/__init__.py Thu Jan 18 16:57:19 2018 +0530
@@ -2482,12 +2482,10 @@
def _finalizerelocate(repo, orig, dest, nodenew, tr):
destbookmarks = repo.nodebookmarks(dest.node())
nodesrc = orig.node()
- destphase = repo[nodesrc].phase()
oldbookmarks = repo.nodebookmarks(nodesrc)
bmchanges = []
if nodenew is not None:
- phases.retractboundary(repo, tr, destphase, [nodenew])
obsolete.createmarkers(repo, [(repo[nodesrc], (repo[nodenew],))])
for book in oldbookmarks:
bmchanges.append((book, nodenew))