ISVNEditor cancellableEditor = SVNCancellableEditor.newInstance(syncEditor, this, getDebugLog());
try {
fromRepos.replay(0, currentRev, true, cancellableEditor);
} catch (SVNException e) {
try {
cancellableEditor.abortEdit();
} catch (SVNException abortError) {}
throw e;
}
cancellableEditor.closeEdit();
if (syncEditor.getCommitInfo().getNewRevision() != currentRev) {