Markus Schaber wrote on Fri, May 13, 2011 at 11:20:11 +0200: > Hi, > > What is the safest future-compatible way to check for an incompatible / > unknown working copy format which was written by a future subversion > version? (e. G. WC-NG by SVN 1.7?) > > My idea was to run status with depth=empty on the workingcopy root, and > check for SVN_ERR_WC_UNSUPPORTED_FORMAT error code. >
What about SVN_ERR_WC_UPGRADE_REQUIRED? > Is there a function specifically designed for this purpose? > If there isn't, it seems like a good idea to have one, in order for the library to clearly communicate "I cannot perform <a contract-specified set of basic operations> on this working copy unless you upgrade it". > Regards, > Markus >