Zhaoqi Xu and GitHub
be7cde7539
fix(repo): surface unrelated histories on Sync Fork ( #39258 )
...
Sync Fork already maps merge conflicts to a JSON error. Unrelated
histories still went through `ServerError`, so the UI showed a 500 HTML
snippet instead of the same user-facing message PR merge already uses
(`repo.pulls.unrelated_histories`).
The API path returned 500 for the same git error; PR merge returns 409.
Match that.
Fixes #36772
AI assistance was used to locate the handler gap and draft the mapping.
I reviewed and take responsibility for the change.
Signed-off-by: Zhaoqi Xu <lzy00419@outlook.com >
2026-09-17 12:25:43 +00:00
..
2026-09-12 08:15:23 +00:00
2026-08-07 14:38:14 +00:00
2026-08-09 10:25:06 +00:00
2026-07-17 18:44:31 +08:00
2026-09-17 12:25:43 +00:00
2026-08-09 10:25:06 +00:00
2026-08-05 17:19:31 +00:00
2026-07-20 16:07:38 +00:00
2026-07-17 18:44:31 +08:00
2026-08-09 10:25:06 +00:00
2026-08-09 10:25:06 +00:00
2026-08-09 10:25:06 +00:00
2026-07-08 23:52:06 +02:00
2026-05-26 15:49:31 -07:00
2026-08-09 10:25:06 +00:00
2026-08-09 10:25:06 +00:00
2026-08-31 23:31:17 +00:00
2026-08-31 23:31:17 +00:00
2026-08-09 10:25:06 +00:00
2026-08-09 10:25:06 +00:00
2026-08-09 10:25:06 +00:00
2026-08-09 10:25:06 +00:00
2026-06-07 06:19:39 +00:00
2026-08-09 10:25:06 +00:00
2026-07-27 07:46:00 +00:00
2026-06-07 06:19:39 +00:00
2026-08-09 10:25:06 +00:00
2026-08-20 16:29:54 +00:00
2026-08-26 19:32:44 +00:00
2026-08-09 10:25:06 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-09-15 10:59:34 +02:00
2026-08-09 10:25:06 +00:00
2026-05-26 15:49:31 -07:00
2026-08-09 10:25:06 +00:00
2026-08-05 00:17:07 +08:00
2026-05-26 15:49:31 -07:00
2026-08-09 10:25:06 +00:00
2026-09-06 05:20:42 +00:00
2026-08-31 23:31:17 +00:00
2026-05-26 15:49:31 -07:00
2026-08-11 09:37:44 +02:00
2026-05-26 15:49:31 -07:00
2026-09-12 08:15:23 +00:00
2026-05-26 15:49:31 -07:00
2026-08-09 10:25:06 +00:00
2026-05-26 15:49:31 -07:00
2026-08-09 10:25:06 +00:00
2026-08-26 20:12:53 +08:00
2026-09-08 09:28:57 +00:00
2026-08-09 10:25:06 +00:00
2026-07-15 17:30:01 +00:00
2026-08-19 12:50:06 +00:00