[OSM-talk] revert.pl
Frederik Ramm
frederik at remote.org
Mon Aug 3 00:01:05 BST 2009
Hi,
Ulf Mehlig wrote:
> I tried to revert the changesets again, via ssh from a server with much
> faster internet connection ... on second try revert.pl terminated
> without an error message now, but the ways of the respective changesets
> are still there when I download parts of the area in JOSM; the
> changesets also haven't disappeared from the history page :-(
Please do not try to use the undo/revert Perl scripts if you do not know
exactly what you are doing.
I don't want to sound too harsh but let me quote from the README file
which you must have read or you wouldn't have been able to run the scripts:
"Be sure that you feel confident to fix anything you might break. If you
do not know your PUTs from your GETs, if you do not know the details of
API 0.6, or know what changesets are and how they work, then DO NOT USE
THIS SOFTWARE."
First of all, changesets will never disappear from the history page. All
you do when "reverting" is you add a new version that re-creates the
state something was in before a change.
Second, the revert code is not really optimized for large-scale
deletions like the one you're attempting. If I am not mistaken it will
try and download the history of every one of the 20k nodes in your
changeset when instead it should simply try and delete them...
Why it didn't work I don't know, it is entirely possible that some error
conditions do not lead to proper error messages.
I'll try and fix it.
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the talk
mailing list