changeset 3460:ada7fb453034

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.
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 18 Jan 2018 16:57:19 +0530
parents 218fbcc3220c
children 6475d2046f87
files hgext3rd/evolve/__init__.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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))