<p>This problem occurs when cleaning up relations by deleting nested relations.<br>
Example: deleting all three: a relation C that contains a relation B that contains a relation A<br>
JOSM does order arrange the order of to-be-deleted relations by alphabet.<br>
This is a problem since now JOSM uploads deleted relation A first but assumes/gets told by the server relation B and C are still existing so returns with<br>
''Precondition failed: The relation $number_of_A is used in relation $number_of_B.''</p>
<p>(originates from this bug filed against JOSM: <a href="http://josm.openstreetmap.de/ticket/9624">http://josm.openstreetmap.de/ticket/9624</a>)</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/issues/688'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/1419053__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNjQ2ODkwNywiZGF0YSI6eyJpZCI6MjQ0NDIyMzB9fQ==--07fb0cbbe385183da3eca5221e3fd288c9f36f08.gif' height='1' width='1'></p>