Skip to content

Commit

Permalink
#2 Temporary workaround to prevent exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
parsley72 committed Mar 13, 2014
1 parent 14b745f commit 34ece6a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,10 @@ static string execAccuRev(string arguments, string workingDir)
if (!errors.Contains("is defunct") && !errors.Contains("No element named") && !errors.Contains("Unable to proceed with annotate.") && !errors.Contains("Specified version not found for:"))
{
Debug.WriteLine(errors);
throw new ApplicationException(string.Format("AccuRev has returned an error: {0}", errors));
if (!errors.Contains("Failed to create symbolic-link"))
{
throw new ApplicationException(string.Format("AccuRev has returned an error: {0}", errors));
}
}
}
return result;
Expand Down

0 comments on commit 34ece6a

Please sign in to comment.