Hi,
I did not find any documentation stating whether the SVN*Client classes are
reentrant or not. I found [1], but it contains no statement on SVN*Client
classes.
I am interested in knowing whether I can call methods on a SVN*Client object
from the same SVNClientManager from within an event handler, e.g, from an
ISVNStatusHandler.
Currently, I have code like the following, where wcClient is the SVNWCClient
from the same SVNClientManager as the SVNStatusClient that is calling the below
handler method.
public void handleStatus(SVNStatus status) throws SVNException {
SVNStatusType contentsStatus = status.getContentsStatus();
if (contentsStatus == SVNStatusType.STATUS_MISSING) {
wcClient.doDelete(status.getFile(), false, false,
false);
This code works fine, but I am not sure if it is safe to do so. I am also
planning on using the SVNUpdateClient from the same SVNClientManager from
within such a handler method.
Thanks in advance,
Biörn
[1] http://svnkit.com/kb/dev-guide-multithreaded-environment.html