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

get version of repository

From: SteveKing <steveking_at_gmx.ch>
Date: 2003-05-26 20:36:37 CEST

Hi,

Right now subversion doesn't provide a function to
get the version of a repository (or I havent' found
one). I already checked the mailing list and the issue
tracker but found nothing.

I would like that both server and client would exchange
those version information on connect. That way
both server and client could check if they are still
compatible and error out if they are not (I guess it will
always be the newest versioned part (server or client) which
will know if it's compatible or not).

This would make problems with incompatibilities non-existent
because a clear error message (e.g. "you need to update your
client to access this server") will prevent the user from
corrupting something in the repository/working copy.

Also, for local repositories (no server) the client should be
able to check with which version the db was built and
especially with which version of the berkeley db it
was built and at least warn the user if those don't match.
Maybe create a file with those version numbers in it
when calling svn_repos_create() which could be read out?
I guess this file would then have to be updated when
doing an svnadmin dump/load?

Stefan
Received on Mon May 26 20:38:50 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.