@Test
public void testInitEmpty() throws Exception {
File repoLoc = RepoUtils.createEmptyDir("test-init");
new HgInitCommand().location(repoLoc).revlogV1().dotencode(false).fncache(false).execute();
int requires = new RepoInitializer().initRequiresFromFile(new File(repoLoc, ".hg")).getRequires();
errorCollector.assertTrue(0 != (requires & REVLOGV1));
errorCollector.assertTrue(0 != (requires & STORE));
errorCollector.assertTrue(0 == (requires & DOTENCODE));
errorCollector.assertTrue(0 == (requires & FNCACHE));
errorCollector.assertTrue(0 == (requires & REVLOGV0));