void () { vcs.beginChangeSet(); add(vcs, createFile(root, "f1")); vcs.endChangeSet("a"); vcs.beginChangeSet(); add(vcs, createFile(root, "f2")); add(vcs, changeContent(root, "f1", null)); vcs.endChangeSet("b"); vcs.beginChangeSet(); add(vcs, changeContent(root, "f2", null)); vcs.endChangeSet("c"); List<RecentChange> cc = vcs.getRecentChanges(root); assertEquals(2, cc.size()); assertEquals("b", cc.get(0).getChangeName()); assertEquals("a", cc.get(1).getChangeName()); }