[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

How to detect errors from SVN::Client

From: Andrew Melo <andrewm_at_world-of-frags.com>
Date: 2006-11-09 18:01:49 CET

Hey all-

I'm trying to use the perl bindings to (among other things) create some
directories in a repository. However, I don't know how to detect why an
operation fails. I'm trying to commit to a URL, and it fails ( since it
returns an undef ) but, I don't know why it failed, and that would be
useful.

Here's an example:

There is a repos at:
file:///home/amelo/wofpanel/backend/bin/test_data/temp_repos/

and this instruction returns undef:

$svnclient->mkdir(
"file:///home/amelo/wofpanel/backend/bin/test_data/temp_repos/client" )

Is there somewhere else I can look to find error values? It's silently
failing (by using svnlook on the repository). Changing
SVN::Error::handler doesn't do anything either.

thanks-
Andrew

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 9 17:59:11 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.