Commit 4d4d598
committed
fix(repo): surface unrelated histories on Sync Fork
Sync Fork mapped merge conflicts to a JSON error but left
unrelated-histories as ServerError, so the UI showed a 500 HTML
snippet. PR merge already maps this. Do the same on the web
handler and return 409 from the API.
Fixes #36772
Assisted-by: Grok:grok-4
Signed-off-by: Zhaoqi Xu <lzy00419@outlook.com>1 parent 1770470 commit 4d4d598
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1331 | 1331 | | |
1332 | 1332 | | |
1333 | 1333 | | |
| 1334 | + | |
| 1335 | + | |
1334 | 1336 | | |
1335 | 1337 | | |
1336 | 1338 | | |
| |||
1343 | 1345 | | |
1344 | 1346 | | |
1345 | 1347 | | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
1346 | 1351 | | |
1347 | 1352 | | |
1348 | 1353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
243 | 246 | | |
244 | 247 | | |
245 | 248 | | |
| |||
0 commit comments