I'm using PySVN to manipulate a working copy, and I'd like to do
sensible things on error conditions. This involves differentiating
between the errors that could occur — I'd like to do something
different for "File already exists" than, say, "Repository on fire".
As far as I can see, the best way to do this is to use the numeric
error code supplied with the exception. According to the PySVN
arg is set to a list of tuples containing the message string and
the error code. The error code values are defined by SVN and APR.
1. Is there a list of these error codes anywhere? The only thing
I've found is the documentation for a header file, which is not
2. Will the error codes remain consistent with future versions of SVN?
(Please CC me on replies.)
Received on 2010-10-26 07:19:28 CEST