void () { vcs.beginChangeSet(); vcs.created("dir", true); vcs.beginChangeSet(); vcs.created("dir/one", false); vcs.endChangeSet("inner"); vcs.created("dir/two", false); vcs.endChangeSet("outer"); List<Revision> rr = collectRevisions(vcs, null, "dir", null, null); assertEquals(2, rr.size()); assertEquals("outer", rr.get(1).getChangeSetName()); }