SVNCommitInfo info = null;
try {
WorkingCopy wc = new WorkingCopy(user, password);
info = wc.commit(new Resource(wcDir), false, comment);
} catch (SVNException svne) {
svne.printStackTrace();
throw new XPathException(this,
"error while commiting a working copy to the repository '"
+ wcDir + "'", svne);