Skip to content

Commit

Permalink
address feedback in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanLarsson committed Mar 19, 2024
1 parent 7349227 commit 11f7eb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TfvcMigrator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,12 @@ pat is not null
}
else
{
throw new InvalidOperationException("Should not be reachable. Should be a single changeset matching parent branch.");
throw new InvalidOperationException($"None of the commits created for the parent changeset {parentChangeset} has the expected branch {parentBranch}.");
}
}
else
{
throw new InvalidOperationException("Should not be reachable. Earlier code should have sorted topologically or failed.");
throw new InvalidOperationException($"A commit should have been created for the parent changeset {parentChangeset} before reaching this point.");
}
}

Expand Down

0 comments on commit 11f7eb4

Please sign in to comment.