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-16 06:53:15 +00:00
2026-09-14 22:15:21 +02:00
2026-05-26 15:49:31 -07:00
2026-08-24 17:32:23 +00:00
2026-07-30 16:43:36 +00:00
2026-09-17 12:25:43 +00:00
2026-05-26 15:49:31 -07:00
2026-09-06 11:27:04 +02:00
2026-05-26 15:49:31 -07:00
2026-07-07 07:08:05 +00:00
2026-09-08 15:34:49 +00:00
2026-05-26 15:49:31 -07:00
2026-07-17 18:44:31 +08:00
2026-05-26 15:49:31 -07:00
2026-07-20 16:07:38 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-07-17 18:44:31 +08:00
2026-07-28 17:04:22 +00:00
2026-05-26 15:49:31 -07:00
2026-07-20 16:07:38 +00:00
2026-08-28 21:46:58 +00:00
2026-08-09 10:25:06 +00:00
2025-03-31 01:53:48 -04:00
2026-08-26 19:32:44 +00:00
2026-05-26 15:49:31 -07:00
2026-08-31 23:31:17 +00:00
2026-05-26 15:49:31 -07:00
2026-07-25 20:39:36 +08:00
2026-05-26 15:49:31 -07:00
2026-08-09 10:25:06 +00:00
2026-09-15 10:59:34 +02:00
2026-08-09 10:25:06 +00:00
2026-08-19 12:50:06 +00:00
2026-09-08 15:59:06 +00:00
2026-05-26 15:49:31 -07:00
2026-07-07 14:40:12 +08:00
2026-07-27 07:46:00 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-08-09 10:25:06 +00:00
2026-09-15 10:59:34 +02:00
2026-05-26 15:49:31 -07:00
2026-08-31 23:31:17 +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-07-15 17:30:01 +00:00
2026-09-15 10:59:34 +02:00
2026-08-29 08:20:46 +02:00
2026-08-29 08:20:46 +02:00
2026-09-12 08:15:23 +00:00
2026-06-28 09:31:35 +00:00
2026-07-17 07:44:05 +00:00
2026-05-26 15:49:31 -07:00
2026-08-09 10:25:06 +00:00
2026-09-08 15:34:49 +00:00
2026-05-26 15:49:31 -07:00
2026-07-04 15:02:17 +02:00
2026-09-04 00:28:58 +00:00
2026-08-11 18:01:02 +02:00
2026-08-28 21:46:58 +00:00
2026-08-29 08:20:46 +02:00
2026-08-16 03:00:59 +00:00
2026-05-26 15:49:31 -07:00
2026-08-16 03:00:59 +00:00
2026-08-23 18:31:22 +02:00
2026-08-24 18:26:10 +00:00
2026-08-28 21:46:58 +00:00
2026-05-26 15:49:31 -07:00
2026-08-03 07:34:53 +00:00
2026-08-28 21:46:58 +00:00
2022-11-27 18:20:29 +00:00
2026-09-14 22:15:21 +02:00
2026-08-16 03:00:59 +00:00
2026-05-26 15:49:31 -07:00
2026-08-14 11:31:23 +02:00
2026-09-14 22:15:21 +02:00