We should look for renames even if there is a tfs remote (but empty!)

This commit is contained in:
Philippe Miossec
2014-12-01 23:50:00 +01:00
parent aa323f0057
commit 2fa751931e
+1 -1
View File
@@ -295,7 +295,7 @@ namespace Sep.Git.Tfs.Commands
foreach (var tfsBranch in branchesToFetch)
{
_stdout.WriteLine("=> Working on TFS branch : " + tfsBranch.TfsRepositoryPath);
if (tfsBranch.TfsRemote == null)
if (tfsBranch.TfsRemote == null || tfsBranch.TfsRemote.MaxChangesetId == 0)
{
try
{