Changeset 21210 in osm for applications/editors/josm


Ignore:
Timestamp:
2010-05-10T10:03:34+02:00 (15 years ago)
Author:
upliner
Message:

'Fix #5003 ignores any changes that come after the change set that is to be reverted'

Location:
applications/editors/josm/plugins/reverter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reverter/build.xml

    r21207 r21210  
    3131
    3232        <!-- enter the SVN commit message -->
    33         <property name="commit.message" value="Fix #5001 version should not be set back" />
     33        <property name="commit.message" value="Fix #5003 ignores any changes that come after the change set that is to be reverted" />
    3434        <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    3535        <property name="plugin.main.version" value="3000" />
  • applications/editors/josm/plugins/reverter/src/reverter/DataSetToCmd.java

    r21207 r21210  
    6868            }
    6969            newTarget.mergeFrom(source);
    70             newTarget.setOsmId(target.getId(), (int)target.getVersion());
     70            newTarget.setOsmId(target.getId(), (int)source.getVersion()+1);
    7171            newTarget.setDeleted(false);
    7272            cmds.add(new ChangeCommand(target,newTarget));
Note: See TracChangeset for help on using the changeset viewer.