void () { File cacheDir = new File(myHgDir, "cache"); assertTrue(cacheDir.exists()); File branchFile = new File(cacheDir, "branchheads-served"); assertTrue(branchFile.exists()); debug(DvcsUtil.tryLoadFileOrReturn(branchFile, "")); assertEquals("25e44c95b2612e3cdf29a704dabf82c77066cb67", myRepositoryReader.readCurrentTipRevision()); }