Help needed reverting a complex changeset

Changeset Changeset: 140632403 | OpenStreetMap has deleted many objects, including a number of big route relations. I assume this was not intentionally, but the mapper hasn’t responded on the changeset comment, and the deletions should be reverted asap.

I have tried to revert using the reverter in JOSM, but I get so many conflicts and errors that I know I am out of my league.

I would appreciate some help with this!

Have you tried osm-revert:
https://revert.monicz.dev/

Did a dry run without uploading any changes and it looks it should be able to handle this revert:

log

:cloud: Downloading changeset 140632403
[1/?] OpenStreetMap …
[1/2] OpenStreetMap: 5131 elements
[2/2] Overpass (1 partition) …
[2/2] Partition #1: OK
[2/2] Overpass: 5131 elements
:repeat: Generating a revert
:hammer_and_wrench: Performing advanced revert on node/2362943605
:hammer_and_wrench: Performing advanced revert on node/2534544726
:hammer_and_wrench: Performing advanced revert on node/2534544731
:hammer_and_wrench: Performing advanced revert on node/2534544762
:hammer_and_wrench: Performing advanced revert on node/2534544785
:hammer_and_wrench: Performing advanced revert on node/2534544828
:hammer_and_wrench: Performing advanced revert on node/2534544836
:hammer_and_wrench: Performing advanced revert on node/2534544853
:hammer_and_wrench: Performing advanced revert on node/2534544857
:hammer_and_wrench: Performing advanced revert on node/2534544872
:hammer_and_wrench: Performing advanced revert on node/2534544881
:hammer_and_wrench: Performing advanced revert on node/2534544909
:hammer_and_wrench: Performing advanced revert on node/2534544928
:hammer_and_wrench: Performing advanced revert on node/9142844701
:hammer_and_wrench: Performing advanced revert on node/11157843150
:hammer_and_wrench: Performing advanced revert on way/222008283
:bulb: Performing DMP patch on way/222008283
[DMP] Patch failed (duplicate)
[DMP] Retrying in reverse
[DMP] Patch failed (duplicate)
:hammer_and_wrench: Performing advanced revert on way/228730729
:bulb: Performing DMP patch on way/228730729
[DMP][:ballot_box_with_check:] Patch successful
:hammer_and_wrench: Performing advanced revert on way/345132827
:bulb: Performing DMP patch on way/345132827
[DMP][:ballot_box_with_check:] Patch successful
:hammer_and_wrench: Performing advanced revert on way/362735796
:bulb: Performing DMP patch on way/362735796
[DMP][:ballot_box_with_check:] Patch successful
:hammer_and_wrench: Performing advanced revert on way/758226103
:bulb: Performing DMP patch on way/758226103
[DMP] Patch failed (not_all)
[DMP] Retrying in reverse
[DMP] Patch failed (not_all)
:hammer_and_wrench: Performing advanced revert on way/758438571
:hammer_and_wrench: Performing advanced revert on way/758443552
:bulb: Performing DMP patch on way/758443552
[DMP] Patch failed (not_all)
[DMP] Retrying in reverse
[DMP] Patch failed (not_all)
:hammer_and_wrench: Performing advanced revert on way/758443554
:bulb: Performing DMP patch on way/758443554
[DMP] Patch failed (not_all)
[DMP] Retrying in reverse
[DMP] Patch failed (not_all)
:hammer_and_wrench: Performing advanced revert on way/952790601
:bulb: Performing DMP patch on way/952790601
[DMP][:ballot_box_with_check:] Patch successful
:hammer_and_wrench: Performing advanced revert on way/1021783845
:bulb: Performing DMP patch on way/1021783845
[DMP] Patch failed (not_all)
[DMP] Retrying in reverse
[DMP] Patch failed (not_all)
:hammer_and_wrench: Performing advanced revert on way/1021783846
:bulb: Performing DMP patch on way/1021783846
[DMP] Patch failed (not_all)
[DMP] Retrying in reverse
[DMP] Patch failed (not_all)
:hammer_and_wrench: Performing advanced revert on way/1088600187
:bulb: Performing DMP patch on way/1088600187
[DMP][:ballot_box_with_check:] Patch successful
:hammer_and_wrench: Performing advanced revert on way/1090779378
:hammer_and_wrench: Performing advanced revert on way/1186909184
:bulb: Performing DMP patch on way/1186909184
[DMP][:ballot_box_with_check:] Patch successful
:hammer_and_wrench: Performing advanced revert on way/1203786156
:bulb: Performing DMP patch on way/1203786156
[DMP] Patch failed (duplicate)
[DMP] Retrying in reverse
[DMP] Patch failed (not_all)
:hammer_and_wrench: Performing advanced revert on way/1203786165
:bulb: Performing DMP patch on way/1203786165
[DMP] Patch failed (duplicate)
[DMP] Retrying in reverse
[DMP] Patch failed (not_all)
:hammer_and_wrench: Performing advanced revert on relation/106056
:bulb: Performing DMP patch relation/106056
:white_check_mark: Patch successful
:hammer_and_wrench: Performing advanced revert on relation/372502
:bulb: Performing DMP patch relation/372502
:white_check_mark: Patch successful
:hammer_and_wrench: Performing advanced revert on relation/9678362
:bulb: Performing DMP patch relation/9678362
:white_check_mark: Patch successful
:hammer_and_wrench: Fixing 16 parents
:floppy_disk: Saving 5107 changes to .osc
:warning: Please verify: Way: 222008283 | OpenStreetMap
:warning: Please verify: Way: 758226103 | OpenStreetMap
:warning: Please verify: Way: 758443552 | OpenStreetMap
:warning: Please verify: https://www.openstreetmap.org/way/758443554
:warning: Please verify: Way: 1021783845 | OpenStreetMap
:warning: Please verify: Way: 1021783846 | OpenStreetMap
:warning: Please verify: Way: 1203786156 | OpenStreetMap
:warning: Please verify: Way: 1203786165 | OpenStreetMap
:white_check_mark: Success
:checkered_flag: Total time: 10.7 sec
Exit code: 0

As I said, this is completely out of my league. Is it possble to restore only the relations they removed? I think the other items all have to do with landuse polygons and multipolygons.

PS Ah, I just saw the filter option, and tried to revert only the one relation that was reported to me. That seems to have worked:

:lock: Logging in to OpenStreetMap
:bust_in_silhouette: Welcome, Peter Elderson!
:cloud: Downloading changeset 140632403
[1/?] OpenStreetMap …
[1/2] OpenStreetMap: 5131 elements
[2/2] Overpass (1 partition) …
[2/2] Partition #1: OK
[2/2] Overpass: 1 element (:bucket: filtered)
:repeat: Generating a revert
:earth_africa: Uploading 1 change
:white_check_mark: Success
:white_check_mark: Changeset: 141166487 | OpenStreetMap
:checkered_flag: Total time: 8.1 sec
Exit code: 0

Great tool!