SelectionReverter (int from, int to) { List<Revision> rr = getRevisionsFor(f); SelectionCalculator c = new SelectionCalculator(myGateway, rr, from, to); Revision leftRev = rr.get(1); Entry entry = getRootEntry().getEntry(f.getPath()); return new SelectionReverter(myProject, getVcs(), myGateway, c, leftRev, entry, from, to); }