Commit 95397ae
commit_graph/segments: panic with a more descriptive message on missing parent segment
Summary:
Context: When ordering commit graph segments, there's an assumption that any segment will only have a location associated with a parent changeset ID if there's a parent segment with that location's head. We panic when this assumption doesn't hold.
This diff: Make the panic message more descriptive to make debugging easier.
Reviewed By: gustavoavena
Differential Revision: D101337656
fbshipit-source-id: b5a21660976eb2ba745b56f6dde1dbbeb9b5249a1 parent 31730b9 commit 95397ae
1 file changed
Lines changed: 8 additions & 1 deletion
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
716 | | - | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
717 | 724 | | |
718 | 725 | | |
719 | 726 | | |
| |||
0 commit comments