private @NotNull List<ChangeSet> collectChanges() {
    List<ChangeSet> changes = new ArrayList<>();
    myVcs.accept(new ChangeVisitor() {
      @Override
      public void begin(ChangeSet c) {
        if (c.anyChangeMatches(change -> change.affectsPath(myPath))) changes.add(c);
      }
    });
    return changes;
  }
private @NotNull List<ChangeSet> collectChanges()