void () { cd(myChildRepo); final String defaultPushPath = HgUtil.getRepositoryDefaultPushPath(myProject, myChildRepo); assertNotNull(defaultPushPath); assertEquals(myRepository.getPath(), FileUtil.toSystemIndependentName(defaultPushPath)); }