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

Re: Reduce SVN repository size

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-01-25 22:05:55 CET

On Jan 25, 2007, at 14:50, Erik Hemdal wrote:

> I think Ryan is right and I didn't quite say this right. So I went
> back to
> the release notes and found this:
>
> ----
> Due to certain improvements and bugfixes made to the working copy
> library,
> the version number of the working copy format has been incremented.
> This
> means that Subversion clients earlier than 1.4 will not be able to
> work with
> working copies produced by Subversion 1.4. Similarly, the
> repository format
> has changed as well, meaning that pre-1.4 Subversion tools that
> normally
> access a repository directly (e.g. svnserve, mod_dav_svn, svnadmin)
> won't be
> able to read a repository originally created by Subversion 1.4.
> ----
>
> What I intended was that if you have users running older clients,
> then you
> should not just change the repository format without making sure
> you don't
> run into this issue. I take this to mean that if you do an
> svnadmin dump,
> upgrade to v1.4 and then do an svnadmin load, you'll get the new
> 1.4 format
> and you have to update clients too.
>
> I apologize if I caused confusion, and if I'm misunderstanding
> things, I'd
> appreciate it if Ryan or someone smarter could set me straight.

As I understand it, the two changes are unrelated to one another:

On the one hand, the Subversion 1.4 *server* can use a new repository
format which is more space-efficient. If you want to use it, you must
dump the repository and reload it. Any Subversion 1.x client can
connect to the upgraded server. You do not need to upgrade your
client to 1.4 in order to connect to a 1.4 server.

On the other hand, the Subversion 1.4 *client* uses a new working
copy format. The first time a 1.4 client touches a working copy, it
automatically updates it to 1.4 format. From that point on, only 1.4
clients can use that working copy; older clients are no longer
compatible with it. This applies whether or not your working copy
talks to a 1.4 server or an earlier server.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 25 22:06:40 2007

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