Skip to content
Snippets Groups Projects

evolve: don't update wdir when --dry-run is given (issue6669)

Merged Anton Shestakov requested to merge topic/stable/dry-run-any-6669 into branch/stable
  1. Apr 09, 2022
    • Anton Shestakov's avatar
      evolve: don't update wdir when --dry-run is given (issue6669) · 4298ae0b966d
      Anton Shestakov authored
      What _cleanup() should've been called, perhaps, is _update(). Because it
      updates working copy to either headnode or a successor of startnode. And yes,
      it performs an update even when shouldupdate is False. So when --dry-run is
      given, we should simply avoid calling _cleanup().
      4298ae0b966d
Loading