# HG changeset patch # User Laurent Charignon # Date 1435020392 25200 # Node ID afe46c3b15db2019267e1a045bd3149bc2e9ee24 # Parent c3a50e54b25def5107f2299e492d03fd61a15505 evolve: clarify code in _singlesuccessor Before this patch we were not very explicit with this while condition in _singlesuccessor. This patch makes it more legible. diff -r c3a50e54b25d -r afe46c3b15db hgext/evolve.py --- a/hgext/evolve.py Tue Jun 23 16:50:39 2015 -0700 +++ b/hgext/evolve.py Mon Jun 22 17:46:32 2015 -0700 @@ -1364,7 +1364,7 @@ ui = repo.ui newer = obsolete.successorssets(repo, obs.node()) # search of a parent which is not killed - while not newer or newer == [()]: + while not newer: ui.debug("stabilize target %s is plain dead," " trying to stabilize on its parent\n" % obs)