boolean recursive, boolean combinePackets) throws SVNException { SVNDepth depth = recursive ? SVNDepth.INFINITY : SVNDepth.EMPTY; return doCollectCommitItems(paths, keepLocks, force, depth, combinePackets, null);
return doCollectCommitItems(paths, keepLocks, force, depth, null);
SVNCommitPacket[] packets = doCollectCommitItems(paths, keepLocks, force, depth, true, changelists); if (packets != null && packets.length > 0) { return packets[0];
boolean recursive, boolean combinePackets) throws SVNException { SVNDepth depth = recursive ? SVNDepth.INFINITY : SVNDepth.EMPTY; return doCollectCommitItems(paths, keepLocks, force, depth, combinePackets, null);
return doCollectCommitItems(paths, keepLocks, force, depth, null);
return doCollectCommitItems(paths, keepLocks, force, SVNDepth.fromRecurse(recursive), combinePackets, null);
SVNCommitPacket[] packets = doCollectCommitItems(paths, keepLocks, force, SVNDepth.fromRecurse(recursive), true, null); if (packets != null && packets.length > 0) { return packets[0];
SVNCommitPacket[] packets = doCollectCommitItems(paths, keepLocks, force, depth, true, changelists); if (packets != null) { SVNCommitInfo[] infos = doCommit(packets, keepLocks, keepChangelist, commitMessage, revisionProperties);
SVNCommitPacket packet = doCollectCommitItems(paths, keepLocks, force, recursive); try { packet = packet.removeSkippedItems();
packets = client.doCollectCommitItems(files, noUnlock, !recurse, recurse, atomicCommit); commitResults = client.doCommit(packets, noUnlock, message); } catch (SVNException e) {
final SVNCommitPacket commit = commitClient.doCollectCommitItems(new File[]{userDir}, false, false, SVNDepth.INFINITY, new String[0]); long elapsed = -System.currentTimeMillis(); final SVNCommitInfo info = commitClient.doCommit(commit, /* keepLocks */ false, comment);
final SVNCommitPacket commit = commitClient.doCollectCommitItems(new File[]{userDir}, false, false, SVNDepth.INFINITY, new String[0]); long elapsed = -System.currentTimeMillis(); final SVNCommitInfo info = commitClient.doCommit(commit, /* keepLocks */ false, comment);
SVNCommitPacket packet = doCollectCommitItems(paths, keepLocks, force, depth, changelists); try { packet = packet.removeSkippedItems();
SVNCommitPacket packet = doCollectCommitItems(paths, keepLocks, force, depth, changelists); try { packet = packet.removeSkippedItems();
@Override public String call() throws DebianizingException { SvnClientManager clientManager = SubversionSCM.createClientManager(provider); try { SVNCommitPacket changeset = clientManager.getCommitClient().doCollectCommitItems(new File[] {new File(path)}, false, true, SVNDepth.INFINITY, null); if (changeset != SVNCommitPacket.EMPTY) { SVNCommitInfo commitInfo = clientManager.getCommitClient().doCommit(changeset, false, commitMessage); if (commitInfo.getErrorMessage() != null) { throw new DebianizingException(MessageFormat.format("Error while commiting <{0}>: {1}", path, commitInfo.getErrorMessage().toString())); } else { return Long.toString(commitInfo.getNewRevision()); } } else { throw new DebianizingException("There was nothing to commit."); } } catch (SVNException e) { throw new DebianizingException("SVNException: " + e.getMessage(), e); } finally { clientManager.dispose(); } } }
SVNDepth svnDepth = SVNDepth.fromID(depth); boolean recurse = SVNDepth.recurseFromDepth(svnDepth); packets = client.doCollectCommitItems(files, noUnlock, !recurse, svnDepth, atomicCommit, changlelists); commitResults = client.doCommit(packets, noUnlock, keepChangelist, message, revprops != null ? SVNProperties.wrap(revprops) : null); } catch (SVNException e) {
SVNDepth svnDepth = SVNDepth.fromID(depth); boolean recurse = SVNDepth.recurseFromDepth(svnDepth); packets = client.doCollectCommitItems(files, noUnlock, !recurse, svnDepth, atomicCommit, changlelists); commitResults = client.doCommit(packets, noUnlock, keepChangelist, message, revprops != null ? SVNProperties.wrap(revprops) : null); } catch (SVNException e) {
SVNDepth svnDepth = SVNDepth.fromID(depth); boolean recurse = SVNDepth.recurseFromDepth(svnDepth); packets = client.doCollectCommitItems(files, noUnlock, !recurse, svnDepth, atomicCommit, changlelists); if (packets != null) { if (packets.length == 1) {