You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Julian Foad <ju...@wandisco.com> on 2010/08/31 17:02:27 UTC

WARNING: WC format bumped to 19: single-DB enabled: TAKE CARE

BACK UP YOUR WC before proceeding.

When you upgrade to r991236 or later, single-DB (format 19) is enabled.
If you're running trunk and using it for your WCs, you'll need to
upgrade those WCs before svn will let you continue to use them.

Currently the upgrade from format 18 is performed by
tools/dev/wc-ng/bump-to-19.py.

CAUTION: It's just a hacky script and it has some very rough edges.  In
particular, it will assimilate any versioned directory, *including
things like externals that it shouldn't touch*.  If you have any
externals, you must delete them (the populated directories, not the
properties) before running the script, and then run "svn update" to get
them back again afterwards.

- Julian


Re: WARNING: WC format bumped to 19: single-DB enabled: TAKE CARE

Posted by Julian Foad <ju...@wandisco.com>.
Improvements to bump-to-19.py are flying in... get the latest version
before you use it.

If it fails in the "deleting ..." phase, it's done the migration work so
you should be able to recover simply by deleting all remaining .svn dirs
manually (carefully avoiding the root one of course.)

- Julian


On Tue, 2010-08-31 at 18:02 +0100, Julian Foad wrote:
> BACK UP YOUR WC before proceeding.
> 
> When you upgrade to r991236 or later, single-DB (format 19) is enabled.
> If you're running trunk and using it for your WCs, you'll need to
> upgrade those WCs before svn will let you continue to use them.
> 
> Currently the upgrade from format 18 is performed by
> tools/dev/wc-ng/bump-to-19.py.
> 
> CAUTION: It's just a hacky script and it has some very rough edges.  In
> particular, it will assimilate any versioned directory, *including
> things like externals that it shouldn't touch*.  If you have any
> externals, you must delete them (the populated directories, not the
> properties) before running the script, and then run "svn update" to get
> them back again afterwards.
> 
> - Julian
> 
> 


Re: WARNING: WC format bumped to 19: single-DB enabled: TAKE CARE

Posted by Greg Stein <gs...@gmail.com>.
On Wed, Sep 1, 2010 at 08:22, Julian Foad <ju...@wandisco.com> wrote:
> Greg Stein wrote:
>> <sarcasm-mode> You mean the note sent three whole hours before this
>> thread's original post? </>
>
> Hi Greg.  We were on a roll!  But I don't like it when people do things
> like that to me, and I especially don't like it if someone gives me a
> lousy upgrade script and expects me to deal with the consequences, so
> sorry for that.
>
> Hope you can enjoy the result though and help us work out the remaining
> problems with it.

Oh, I certainly will.

My issue here is that you cut the community out of the discussion.
There was nothing on-list talking about this, which means that the
broader community could not participate.

Things like IRC are a great communication means, but all decisions
should be brought to the list where everybody can participate. And has
the time to participate. The general rule is "72 hours" which gives
"everybody" time to see and respond to the discussion. People can be
in different time zones or busy for a day or two, or whatever.

Obviously, we're talking about using the 72 hour pattern for large
decisions rather than "what do I name this function?" (which is
obviously Just Done under Commit-Then-Review). The problem is that
switching the codebase over to single-db *IS* a very freakin' large
decision. And there was no lead-up to that decision which would allow
for everybody to participate.

Cheers,
-g

Re: WARNING: WC format bumped to 19: single-DB enabled: TAKE CARE

Posted by Julian Foad <ju...@wandisco.com>.
Greg Stein wrote:
> <sarcasm-mode> You mean the note sent three whole hours before this
> thread's original post? </>

Hi Greg.  We were on a roll!  But I don't like it when people do things
like that to me, and I especially don't like it if someone gives me a
lousy upgrade script and expects me to deal with the consequences, so
sorry for that.

Hope you can enjoy the result though and help us work out the remaining
problems with it.

- Julian


> On Tue, Aug 31, 2010 at 17:48, Mark Phippard <ma...@gmail.com> wrote:
> > It was in the Enabling SINGLE_DB thread on this list.
> >
> >
> >
> > On Tue, Aug 31, 2010 at 5:30 PM, Greg Stein <gs...@gmail.com> wrote:
> >> Where was the heads up or the discussion to do this now?


Re: WARNING: WC format bumped to 19: single-DB enabled: TAKE CARE

Posted by Greg Stein <gs...@gmail.com>.
<sarcasm-mode> You mean the note sent three whole hours before this
thread's original post? </>

On Tue, Aug 31, 2010 at 17:48, Mark Phippard <ma...@gmail.com> wrote:
> It was in the Enabling SINGLE_DB thread on this list.
>
>
>
> On Tue, Aug 31, 2010 at 5:30 PM, Greg Stein <gs...@gmail.com> wrote:
>> Where was the heads up or the discussion to do this now?
>>
>> On Tue, Aug 31, 2010 at 13:02, Julian Foad <ju...@wandisco.com> wrote:
>>> BACK UP YOUR WC before proceeding.
>>>
>>> When you upgrade to r991236 or later, single-DB (format 19) is enabled.
>>> If you're running trunk and using it for your WCs, you'll need to
>>> upgrade those WCs before svn will let you continue to use them.
>>>
>>> Currently the upgrade from format 18 is performed by
>>> tools/dev/wc-ng/bump-to-19.py.
>>>
>>> CAUTION: It's just a hacky script and it has some very rough edges.  In
>>> particular, it will assimilate any versioned directory, *including
>>> things like externals that it shouldn't touch*.  If you have any
>>> externals, you must delete them (the populated directories, not the
>>> properties) before running the script, and then run "svn update" to get
>>> them back again afterwards.
>>>
>>> - Julian
>>>
>>>
>>>
>>
>
>
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>

Re: WARNING: WC format bumped to 19: single-DB enabled: TAKE CARE

Posted by Mark Phippard <ma...@gmail.com>.
It was in the Enabling SINGLE_DB thread on this list.



On Tue, Aug 31, 2010 at 5:30 PM, Greg Stein <gs...@gmail.com> wrote:
> Where was the heads up or the discussion to do this now?
>
> On Tue, Aug 31, 2010 at 13:02, Julian Foad <ju...@wandisco.com> wrote:
>> BACK UP YOUR WC before proceeding.
>>
>> When you upgrade to r991236 or later, single-DB (format 19) is enabled.
>> If you're running trunk and using it for your WCs, you'll need to
>> upgrade those WCs before svn will let you continue to use them.
>>
>> Currently the upgrade from format 18 is performed by
>> tools/dev/wc-ng/bump-to-19.py.
>>
>> CAUTION: It's just a hacky script and it has some very rough edges.  In
>> particular, it will assimilate any versioned directory, *including
>> things like externals that it shouldn't touch*.  If you have any
>> externals, you must delete them (the populated directories, not the
>> properties) before running the script, and then run "svn update" to get
>> them back again afterwards.
>>
>> - Julian
>>
>>
>>
>



-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

Re: WARNING: WC format bumped to 19: single-DB enabled: TAKE CARE

Posted by Greg Stein <gs...@gmail.com>.
Where was the heads up or the discussion to do this now?

On Tue, Aug 31, 2010 at 13:02, Julian Foad <ju...@wandisco.com> wrote:
> BACK UP YOUR WC before proceeding.
>
> When you upgrade to r991236 or later, single-DB (format 19) is enabled.
> If you're running trunk and using it for your WCs, you'll need to
> upgrade those WCs before svn will let you continue to use them.
>
> Currently the upgrade from format 18 is performed by
> tools/dev/wc-ng/bump-to-19.py.
>
> CAUTION: It's just a hacky script and it has some very rough edges.  In
> particular, it will assimilate any versioned directory, *including
> things like externals that it shouldn't touch*.  If you have any
> externals, you must delete them (the populated directories, not the
> properties) before running the script, and then run "svn update" to get
> them back again afterwards.
>
> - Julian
>
>
>

Re: WARNING: WC format bumped to 19: single-DB enabled: TAKE CARE

Posted by Julian Foad <ju...@wandisco.com>.
Philip Martin wrote:
> Julian Foad <ju...@wandisco.com> writes:
> 
> > CAUTION: It's just a hacky script and it has some very rough edges.  In
> > particular, it will assimilate any versioned directory, *including
> > things like externals that it shouldn't touch*.  If you have any
> > externals, you must delete them (the populated directories, not the
> > properties) before running the script, and then run "svn update" to get
> > them back again afterwards.
> 
> I've tweaked the script so that it should remain in a single wc and
> skip any externals or nested wcs.  Each external should be upgrade
> separately.

Thank you immensely, Philip.

- Julian


Re: WARNING: WC format bumped to 19: single-DB enabled: TAKE CARE

Posted by Philip Martin <ph...@wandisco.com>.
Julian Foad <ju...@wandisco.com> writes:

> CAUTION: It's just a hacky script and it has some very rough edges.  In
> particular, it will assimilate any versioned directory, *including
> things like externals that it shouldn't touch*.  If you have any
> externals, you must delete them (the populated directories, not the
> properties) before running the script, and then run "svn update" to get
> them back again afterwards.

I've tweaked the script so that it should remain in a single wc and
skip any externals or nested wcs.  Each external should be upgrade
separately.

-- 
Philip