newPath = new Path(getTestDirectory().getPath()).append("bare").append(
"NewBareRepository");
shell.bot().textWithLabel(UIText.CreateRepositoryPage_DirectoryLabel)
.setText(newPath.toOSString());
shell.bot().checkBox(UIText.CreateRepositoryPage_BareCheckbox).select();
shell.bot().button(IDialogConstants.FINISH_LABEL).click();
refreshAndWait();
repoFile = newPath.toFile();
myRepoViewUtil.getRootItem(getOrOpenView().bot().tree(), repoFile);
assertTrue(myRepoViewUtil.lookupRepository(repoFile).isBare());
}