Skip to content
  • Anton Shestakov's avatar
    evolve: orphans that evolve into nothing don't need successors (issue5967) · 27947b17cfaf
    Anton Shestakov authored
    When continuing to solve an orphan that created no changes (i.e. clean wdir),
    _completeorphan() used to create an obsmarker that said that the result of that
    orphan evolution is the currently checked out changeset. That's not a correct
    obsmarker, because all of the orphan's changes were dropped and so it had no
    effect on the currently checked out changeset.
    
    This is an issue that has only existed when --continu'ing evolve, that's why
    the fix touches _completeorphan(), but not _solveunstable(). This fix is
    adapted from a similar "if node is None" block in _finalizerelocate().
    27947b17cfaf
To find the state of this project's repository at the time of any of these versions, check out the tags.