# HG changeset patch # User Pierre-Yves David # Date 1392861793 28800 # Node ID c479e24ebddf8bce0d892615a775bebd60de902f # Parent 1844bb6aed561f8914038ae36a876c14e6b85870 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. diff -r 1844bb6aed56 -r c479e24ebddf hgext/evolve.py --- a/hgext/evolve.py Thu Feb 20 13:32:04 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))