Merge pull request #331 from pmiossec/crash_clone_whole_repository

Correct crash when clone the whole repository
This commit is contained in:
Sean M. Collins
2013-03-25 07:11:55 -07:00
+1
View File
@@ -114,6 +114,7 @@ namespace Sep.Git.Tfs.Commands
if (withBranches)
throw new GitTfsException("error: cloning the whole repository or too high in the repository path doesn't permit to manage branches!\n" + cloneMsg);
stdout.WriteLine("warning: you are going to clone the whole repository or too high in the repository path !\n" + cloneMsg);
return;
}
var tfsBranchesPath = tfsTrunkRepository.GetAllChildren();