# 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 --git a/hgext/evolve.py b/hgext/evolve.py --- a/hgext/evolve.py +++ b/hgext/evolve.py @@ -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)