congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
SVNCopyClient.setCommitHandler
Code IndexAdd Tabnine to your IDE (free)

How to use
setCommitHandler
method
in
org.tmatesoft.svn.core.wc.SVNCopyClient

Best Java code snippets using org.tmatesoft.svn.core.wc.SVNCopyClient.setCommitHandler (Showing top 8 results out of 315)

origin: org.tmatesoft.svnkit/svnkit

protected void initDefaults() {
  setCommitParameters(null);
  setCommitHandler(null);
  setExternalsHandler(null);
}
origin: org.jvnet.hudson.svnkit/svnkit

private void copyOrMove(SVNCopySource[] sources, String destPath, boolean isMove, String message, boolean copyAsChild, boolean makeParents, Map revprops) throws ClientException {
  SVNCopyClient client = getSVNCopyClient();
  try {
    if (isURL(destPath)) {
      SVNProperties revisionProperties = revprops == null ? null : SVNProperties.wrap(revprops);
      boolean isURLs = sources.length > 0 && sources[0].isURL();
      client.setCommitHandler(createCommitMessageHandler(isURLs));
      client.doCopy(sources, SVNURL.parseURIEncoded(destPath), isMove, makeParents, !copyAsChild, message, revisionProperties);
    } else {
      client.doCopy(sources, new File(destPath).getAbsoluteFile(), isMove, makeParents, !copyAsChild);
    }
  } catch (SVNException e) {
    throwException(e);
  } finally {
    if (client != null) {
      client.setCommitHandler(null);
    }
    resetLog();
  }
}
origin: org.tmatesoft.svnkit/svnkit-javahl16

private void copyOrMove(SVNCopySource[] sources, String destPath, boolean isMove, String message, boolean copyAsChild, boolean makeParents, Map revprops) throws ClientException {
  SVNCopyClient client = getSVNCopyClient();
  try {
    if (isURL(destPath)) {
      SVNProperties revisionProperties = revprops == null ? null : SVNProperties.wrap(revprops);
      boolean isURLs = sources.length > 0 && sources[0].isURL();
      client.setCommitHandler(createCommitMessageHandler(isURLs));
      client.doCopy(sources, SVNURL.parseURIEncoded(destPath), isMove, makeParents, !copyAsChild, message, revisionProperties);
    } else {
      client.doCopy(sources, new File(destPath).getAbsoluteFile(), isMove, makeParents, !copyAsChild);
    }
  } catch (SVNException e) {
    throwException(e);
  } finally {
    if (client != null) {
      client.setCommitHandler(null);
    }
    resetLog();
  }
}
origin: org.codehaus.jtstand/jtstand-svnkit

private void copyOrMove(SVNCopySource[] sources, String destPath, boolean isMove, String message, boolean copyAsChild, boolean makeParents, Map revprops) throws ClientException {
  SVNCopyClient client = getSVNCopyClient();
  try {
    if (isURL(destPath)) {
      SVNProperties revisionProperties = revprops == null ? null : SVNProperties.wrap(revprops);
      boolean isURLs = sources.length > 0 && sources[0].isURL();
      client.setCommitHandler(createCommitMessageHandler(isURLs));
      client.doCopy(sources, SVNURL.parseURIEncoded(destPath), isMove, makeParents, !copyAsChild, message, revisionProperties);
    } else {
      client.doCopy(sources, new File(destPath).getAbsoluteFile(), isMove, makeParents, !copyAsChild);
    }
  } catch (SVNException e) {
    throwException(e);
  } finally {
    if (client != null) {
      client.setCommitHandler(null);
    }
    resetLog();
  }
}
origin: sonia.svnkit/svnkit-cli

  client.setEventHandler(new SVNNotifyPrinter(getSVNEnvironment()));
client.setCommitHandler(getSVNEnvironment());
Collection sources = new ArrayList();
for (Iterator ts = targets.iterator(); ts.hasNext();) {
origin: org.tmatesoft.svnkit/svnkit-cli

  client.setEventHandler(new SVNNotifyPrinter(getSVNEnvironment()));
client.setCommitHandler(getSVNEnvironment());
Collection sources = new ArrayList();
for (Iterator ts = targets.iterator(); ts.hasNext();) {
origin: org.tmatesoft.svnkit/svnkit-cli

client.setCommitHandler(getSVNEnvironment());
SVNCopySource[] copySources = (SVNCopySource[]) sources.toArray(new SVNCopySource[sources.size()]);
if (dst.isURL()) {
origin: sonia.svnkit/svnkit-cli

client.setCommitHandler(getSVNEnvironment());
SVNCopySource[] copySources = (SVNCopySource[]) sources.toArray(new SVNCopySource[sources.size()]);
if (dst.isURL()) {
org.tmatesoft.svn.core.wcSVNCopyClientsetCommitHandler

Javadoc

Sets an implementation of ISVNCommitHandler to the commit handler that will be used during commit operations to handle commit log messages. The handler will receive a clien's log message and items (represented as SVNCommitItem objects) that will be committed. Depending on implementor's aims the initial log message can be modified (or something else) and returned back.

If using SVNCopyClient without specifying any commit handler then a default one will be used - DefaultSVNCommitHandler.

Popular methods of SVNCopyClient

  • doCopy
  • setEventHandler
  • <init>
  • getCommitHandler
    Returns the specified commit handler (if set) being in use or a default one ( DefaultSVNCommitHandle
  • getCommitParameters
    Returns commit parameters. If no user parameters were previously specified, once creates and returns
  • setDebugLog
  • getExternalsHandler
    Returns an externals handler used by this update client. If no user's handler is provided then ISVNE
  • setIgnoreExternals
  • setOptions
  • copyDisjointWCToWC
  • expandCopySources
  • setupCopy
  • expandCopySources,
  • setupCopy,
  • copyDir,
  • copyFile,
  • createRepository,
  • createWCAccess,
  • dispatchEvent,
  • getEventDispatcher,
  • getOperationsFactory

Popular in Java

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
  • String (java.lang)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • JComboBox (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • Option (scala)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now