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

Re: We should bump WC format version number for 1.5.

From: Daniel L. Rall <dlr_at_finemaltcoding.com>
Date: 2007-10-04 08:14:11 CEST

On Wed, 03 Oct 2007, Karl Fogel wrote:

> Karl Fogel <kfogel@red-bean.com> writes:
> > A somewhat better answer would be the following escape hatch: only
> > bump a particular working copy directory's format number when the 1.5
> > client is actually writing out a depth other than infinity. That way,
> > only those who actually use the sparse directories features would pay
> > the no-downgrading price.
> >
> > I have no idea how hard this would be. I'm not sure we always *know*
> > the depth at the time we create the working copy administrative area,
> > and if we later go back and rewrite the format number, I'm worried
> > about creating race conditions. It might be better to be hard-nosed
> > but correct, than forgiving but corruptible.
> >
> > Thoughts? Should we just bump it?
>
> Hmmm, it seems init_adm() does take a 'depth' parameter, so we might
> be able to swing this. I'll spend a few hours on it. If it's done by
> the end of that, great; if not, I'll at least know whether doing it is
> hard or easy.

Don't bother. As painful as it is, we have to bump the format number.

-- 
Daniel Rall

  • application/pgp-signature attachment: stored
Received on Thu Oct 4 08:14:51 2007

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.