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

dropping support for old (format 1) working copies

From: <kfogel_at_collab.net>
Date: 2003-11-07 17:14:41 CET

On the partial-authz-dev branch, we've added a new entry attribute
'absent', for partially authorized working copies.

Since old clients don't know how to use the new attribute, and won't
get correct behavior by ignoring it, we've upgraded SVN_WC__VERSION to
3. However, since only a new client will ever produce the new
attribute, it's trivial to upgrade a working copy from format 2 to
format 3 -- just bump the format number (while holding a write lock,
of course).

I'm writing a function, libsvn_wc/lock.c:upgrade_format(), to do that.
However, upgrading from wc format 1 to 3 is much more involved than
upgrading from 2 to 3. (There are no theoretical problems, it just
involves a lot of coding, to fix up the base and working propfile
names, both regular props and wcprops).

Frankly, I'd like not to bother spending the half day that it would
require. Most people probably have format 2 working copies anyway,
and there are more important things to spend time on.

Would anyone object if the client just gave a verbose error on
encountering a version 1 working copy? Our code hasn't created such
working copies for well over a year now. I'm sure there are some
still out there, but an error telling people to check out again isn't
the worst thing in the world, from pre-1.0 software.
   
Thanks,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 7 17:55:38 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.