changeset 802:80e078959129

evolve: use flag value from core for bumped fix This flag is available from core for a long time, lets use it directly from there. This commit intend to cleanup old stuff from the evolve extention.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Wed, 19 Feb 2014 18:03:13 -0800
parents f49d4774b999
children b96d51a357bd
files hgext/evolve.py
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/evolve.py	Thu Feb 20 12:56:57 2014 -0800
+++ b/hgext/evolve.py	Wed Feb 19 18:03:13 2014 -0800
@@ -330,9 +330,6 @@
 #####################################################################
 
 
-### Cache computation
-latediff = 1  # flag to prevent taking late comer fix into account
-
 ### changectx method
 
 @eh.addattr(context.changectx, 'latecomer')
@@ -1154,7 +1151,7 @@
                 else:
                     phases.retractboundary(repo, bumped.phase(), [newid])
                     createmarkers(repo, [(tmpctx, (repo[newid],))],
-                                           flag=latediff)
+                                           flag=obsolete.bumpedfix)
                 bmupdate(newid)
                 tr.close()
                 repo.ui.status(_('commited as %s\n') % node.short(newid))