private void VerifyCloneAllRepository()
{
if (!_globals.Repository.HasRemote(GitTfsConstants.DefaultRepositoryId))
return;
if (_globals.Repository.ReadTfsRemote(GitTfsConstants.DefaultRepositoryId).TfsRepositoryPath == GitTfsConstants.TfsRoot)
throw new GitTfsException("error: you can't use the 'branch' command when you have cloned the whole repository '$/' !");
}