Hi, Daniel,

> Von: Daniel Shahaf [mailto:d...@daniel.shahaf.name]
> 
> Markus Schaber wrote on Fri, May 13, 2011 at 11:20:11 +0200:
> >
> > 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.
> >
> > Is there a function specifically designed for this purpose?
> 
> svn_wc_check_wc() came up on IRC --- does it help?

According to the docs, it does tell me about the working copy format
revision, but not whether my current library can handle that version.
But I could hardcode that.

The second problem is that - as it seems - SharpSvn does not expose that
method, and up to now, I did not manage to successfully compile SharpSvn
on my own.


Regards,
Markus

Reply via email to