Skip to content

"Earlier code should have sorted topologically or failed" assertion was hit #28

@jnm2

Description

@jnm2

Got a report that this assertion was hit:

throw new InvalidOperationException("Should not be reachable. Earlier code should have sorted topologically or failed.");

This indicates that it was migrating a merge changeset, and that it was unable to find a previously-migrated commit corresponding to a parent changeset of the merge. The question is why it was migrating a merge changeset before migrating one of its parents.

To know why this happened is tricky without a crash dump. One possibility is a bug in TopologicalSortExtensions.cs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions