diff --git a/src/TfvcMigrator/Program.cs b/src/TfvcMigrator/Program.cs index ae66db1..303e0cc 100644 --- a/src/TfvcMigrator/Program.cs +++ b/src/TfvcMigrator/Program.cs @@ -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."); } }