Ticket #11136: 11136.patch
| File 11136.patch, 915 bytes (added by , 6 years ago) |
|---|
-
src/reverter/ChangesetReverter.java
421 421 // Check objects versions 422 422 for (Iterator<ChangesetDataSetEntry> it = cds.iterator(); it.hasNext();) { 423 423 ChangesetDataSetEntry entry = it.next(); 424 ChangesetDataSetEntry first = cds.getFirstEntry(entry.getPrimitive().getPrimitiveId()); 425 if (entry.getPrimitive().getVersion() != first.getPrimitive().getVersion()) { 426 // ignore all but the first change to an object 427 continue; 428 } 424 429 if (!checkOsmChangeEntry(entry)) continue; 425 430 HistoryOsmPrimitive hp = entry.getPrimitive(); 426 431 OsmPrimitive dp = ds.getPrimitiveById(hp.getPrimitiveId());
