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

Re: [1990]:Re: [PATCH] change-svn-wc-format.py

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 28 Mar 2009 16:18:55 +0300 (Jerusalem Daylight Time)

Stefan Sperling wrote on Sat, 28 Mar 2009 at 12:52 -0000:
> On Sat, Mar 28, 2009 at 11:46:32AM +0800, Edmund Wong wrote:
> > On Fri, 27 Mar 2009 14:36:52 +0000, Stefan Sperling wrote
> > > Changing working copy format should work either way, up to 1.6.
> > > This script will never be able to support 1.7.
> > >
> > I understand. So basically I take out the last three lines above?
>
> You need to create the file with the correct format version
> number no matter which direction you are going.
>

+1

> For all x and y in [0...6] inclusive:
> Downgrade from svn 1.x to svn 1.y -> decrease format number appropriately.
> Upgrade from svn 1.x to svn 1.y -> increase format number appropriately.
>

> > From Greg Stein's post, it's likely that it's only up to 1.4.
> > Or did I misunderstand?
>
> Greg is usually right ;)
>
> You can decide whether to treat Subversion 1.4 and above as
> a special case and leave the file empty, or if you don't want
> special cases and just always create an appropriate format file.
>

The script doesn't support downgrading to (or upgrading from) svn 1.3
and earlier formats.

Nonetheless, +1 to always creating a valid (non-empty) format file.

> Either approach will fix the bug with 1.6.0.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1455946
Received on 2009-03-28 14:19:19 CET

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.