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

AW: Detect incompatible (future) workingcopy format.

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Tue, 17 May 2011 08:07:41 +0200

Hi, Daniel,

> Von: Daniel Shahaf [mailto:d.s_at_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
Received on 2011-05-17 08:08:28 CEST

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.