[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: Marko Klopcic <marko.klopcic_at_isystem.si>
Date: Tue, 31 Mar 2009 10:49:24 +0200

>>> 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.
> And in Subversion 1.6.0 this file is removed as it wasn't used by Subversion
> itself for the last few versions. (And Subversion 1.7 might remove most .svn
> directories from your working copy).
> So I don't think that you should rely on these implementation details...
> Bert

I was told the following:
See the first line in '.svn/entries' for version. More details can
be found in CHANGES file of each release and in

However, that's all going to change in 1.7



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-31 14:06:59 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.