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

Re: Canceling upgrade in svn_wc__wipe_postupgrade()

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 22 Jul 2011 11:03:56 +0100

Ivan Zhakov <ivan_at_visualsvn.com> writes:

> On Fri, Jul 22, 2011 at 13:55, Philip Martin <philip.martin_at_wandisco.com> wrote:
>> Ivan Zhakov <ivan_at_visualsvn.com> writes:
>>
>>> It seems that if user cancel svn upgrade operation in post upgrade
>>> step (removing old .svn directories) working will stay in unusable
>>> state. Is it makes sense to make svn_wc__wipe_postupgrade() since it
>>> just removes .svn for subdirectories inside wcroot?
>>
>> When we rename the wc.db file the working copy becomes a valid 1.7 wc.
>>
>> I suppose we should ensure that .svn/format gets created as soon as
>> possible after that rename, since that is what prevents a pre-1.7 client
>> from using the working copy.
>>
> Hi Philip,
>
> But svn_wc__db_wcroot_parse_local_abspath() finds this internal locked
> .svn and returns error that working copy need to be upgraded.

The intention is that renaming the wc.db file makes the working copy a
1.7 working copy. At that stage running 'svn cleanup' will finish the
upgrade.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2011-07-22 12:04:42 CEST

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.