void () { add(myVcs, createFile(myRoot, "file")); myVcs.putUserLabel("1", "project"); add(myVcs, changeContent(myRoot, "file", null)); myVcs.putUserLabel("2", "project"); List<Revision> rr = collectRevisions(myVcs, myRoot, "file", "project", null); assertEquals(5, rr.size()); assertEquals("2", rr.get(1).getLabel()); assertNull(rr.get(2).getLabel()); assertEquals("1", rr.get(3).getLabel()); assertNull(rr.get(4).getLabel()); }