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

Re: Some WC improvements

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-07-30 15:48:56 CEST

On Sat, 30 Jul 2005, Philip Martin wrote:

> "Peter N. Lundblad" <peter@famlundblad.se> writes:
>
> I'm not sure whether you are also planning:
>
> - No prop-base file if there are no properties.
>
I'll take a look at that as well.

> > How to do this:
> > These changes require a WC format bump. We need to keep the old code
> > for old WCs, since we can't always upgrade to a new format. I'm not
> > even sure its worth the trouble to upgrade old WCs.
>
> The last WC upgrade happenend automatically on the first time WC
> operation with a write lock, I think you should do the same.
>
Yes, I'm starting to think the same. I'm not sure how to handle this
atomically. Previously, it looks like auto-upgrading has just been a
matter of rewriting the format file. Now, we need to both rewrite format
and entries, and (but thats not critical) remove empty and redundant props
files. It would be nice if we avoided breaking peoples WCs if something
goes wrong. I'll take a look at using the log mechanism for this in some
way.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 30 15:49:36 2005

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