Commit 89f7de4
committed
Show clearer error message when subrepo_parent is not an ancestor of HEAD
Before, there would be a cryptic error about invalid parameters,
because prev_commit would never get set.
This situation can occur when the commit that last touched the subrepo
has been rebased.1 parent d4a04f1 commit 89f7de4
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
703 | 715 | | |
704 | 716 | | |
705 | 717 | | |
| |||
0 commit comments