void () { VirtualFile f = createChildData(myRoot, "file.txt"); assertEquals(2, getRevisionsFor(f).size()); assertEquals(3, getRevisionsFor(myRoot).size()); LocalHistory.getInstance().putSystemLabel(myProject, "label"); List<Revision> rr = getRevisionsFor(f); assertEquals(3, rr.size()); assertEquals("label", rr.get(1).getLabel()); rr = getRevisionsFor(myRoot); assertEquals(4, rr.size()); assertEquals("label", rr.get(1).getLabel()); }