╭ changed ──╮ │src/try.zig│ ╰───────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1152 }); │ │1153 │ │1154 if (status == .merged) { │ │1155 - try pch.merge(.{}, io, allocator, repos_path, target_repo, .{ │ │1155 + try pch.mergeAndRemoveFork(.{}, io, allocator, repos_path, admin_repo, target_repo, .{│ │1156 .id = patch_hex, │ │1157 .revision = .source, │ │1158 .author = patch_author, │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1159 .timestamp = timestamp + 7, │ │1160 }); │ │1161 - try fork.remove(io, allocator, repos_path, admin_repo, &patch_hex, user_id, patch_author); │ │1161 } else if (status != .open) { │ │1162 try evt.Patch.update(.xit, .{}, io, allocator, target_repo, &patch_ids[i], .{ .status = status }, patch_author);│ │1163 } │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯