result.append(commitItem.getRevision()); result.append(" "); result.append(commitItem.getURL());
result.append(commitItem.getRevision()); result.append(" "); result.append(commitItem.getURL());
result.append(commitItem.getRevision()); result.append(" "); result.append(commitItem.getURL());
result.append(commitItem.getRevision()); result.append(" "); result.append(commitItem.getURL());
rootUrl, item.getKind(), item.getURL(), item.getRevision() != null ? item.getRevision().getNumber() : -1, item.getCopyFromURL(), item.getCopyFromRevision() != null ? item.getCopyFromRevision().getNumber() : -1,
sc.getCopyFromURL() != null ? sc.getCopyFromURL().toString() : null, sc.getRevision().getNumber());
sc.getCopyFromURL() != null ? sc.getCopyFromURL().toString() : null, sc.getRevision().getNumber());
sc.getCopyFromURL() != null ? sc.getCopyFromURL().toString() : null, sc.getRevision().getNumber());
sc.getCopyFromURL() != null ? sc.getCopyFromURL().toString() : null, sc.getRevision().getNumber());
i.setRevision(item.getRevision() != null ? item.getRevision().getNumber() : -1); int flags = 0; if (item.isAdded()) {
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.BAD_URL, "Commit item ''{0}'' has copy flag but no copyfrom URL", item.getFile()); SVNErrorManager.error(err, SVNLogType.WC); } else if (item.getRevision().getNumber() < 0) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.CLIENT_BAD_REVISION, "Commit item ''{0}'' has copy flag but an invalid revision", item.getFile()); SVNErrorManager.error(err, SVNLogType.WC); long rev = item.getRevision().getNumber(); if (item.isAdded() && item.isDeleted()) { event = SVNEventFactory.createSVNEvent(file, item.getKind(), null, SVNRepository.INVALID_REVISION, SVNEventAction.COMMIT_REPLACED, null, null, null);
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.BAD_URL, "Commit item ''{0}'' has copy flag but no copyfrom URL", item.getFile()); SVNErrorManager.error(err, SVNLogType.WC); } else if (item.getRevision().getNumber() < 0) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.CLIENT_BAD_REVISION, "Commit item ''{0}'' has copy flag but an invalid revision", item.getFile()); SVNErrorManager.error(err, SVNLogType.WC); long rev = item.getRevision().getNumber(); if (item.isAdded() && item.isDeleted()) { event = SVNEventFactory.createSVNEvent(file, item.getKind(), null, SVNRepository.INVALID_REVISION, SVNEventAction.COMMIT_REPLACED, null, null, null);
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.BAD_URL, "Commit item ''{0}'' has copy flag but no copyfrom URL", item.getFile()); SVNErrorManager.error(err, SVNLogType.WC); } else if (item.getRevision().getNumber() < 0) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.CLIENT_BAD_REVISION, "Commit item ''{0}'' has copy flag but an invalid revision", item.getFile()); SVNErrorManager.error(err, SVNLogType.WC); long rev = item.getRevision().getNumber(); if (item.isAdded() && item.isDeleted()) { event = SVNEventFactory.createSVNEvent(file, item.getKind(), null, SVNRepository.INVALID_REVISION, SVNEventAction.COMMIT_REPLACED, null, null, null);
sc.getCopyFromURL() != null ? sc.getCopyFromURL().toString() : null, sc.getRevision().getNumber());
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.BAD_URL, "Commit item ''{0}'' has copy flag but no copyfrom URL", item.getFile()); SVNErrorManager.error(err); } else if (item.getRevision().getNumber() < 0) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.CLIENT_BAD_REVISION, "Commit item ''{0}'' has copy flag but an invalid revision", item.getFile()); SVNErrorManager.error(err); wcAccess.handleEvent(event, ISVNEventHandler.UNKNOWN); long rev = item.getRevision().getNumber(); long cfRev = item.getCopyFromRevision().getNumber();//item.getCopyFromURL() != null ? rev : -1; if (item.isDeleted()) {