protected void assure_repository_is_not_already_cloned()
{
if (Directory.Exists(reposDir))
DeleteFileSystemInfo(new DirectoryInfo(reposDir));
if (Directory.Exists(reposDir))
{
Debug.WriteLine(
"Permission to delete the repository directory is denied. Please delete the contents of " +
reposDir + " manually and run the test again.");
Assert.Fail();
}
}