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

Re: version of SVN client, which created an existing working copy

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 26 Mar 2009 10:53:39 -0400

On Thu, Mar 26, 2009 at 07:16, Marko Klopcic <marko.klopcic_at_isystem.si> wrote:
> Hi,
> How can I get version of the client, which created existing
> working copy (which API function / data structure)?
> The idea is to use the same svn client version in our
> application automatically, therefore NOT to force users to
> upgrade all other svn clients, which may not even be available.
> The problem is critical in the period after new release, because
> not all clients are upgraded immediately.

In each.svn directory is a file named "format". It contains an integer
which indicates which WC format the WC is using. I don't have a
mapping of formats to SVN versions, but each time the WC format
changes, that format number changes.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-26 16:35:02 CET

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.