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

Re: Two svn_wc__db_t for single-db upgrade

From: Greg Stein <gstein_at_gmail.com>
Date: Fri, 27 Aug 2010 11:47:10 -0400

Back up a step. *What* data do you need to query? Maybe there is a more
direct solution.

I very much dislike a special mode for wc_db. It just screams "hack".

On Aug 27, 2010 10:07 AM, "Philip Martin" <philip.martin_at_wandisco.com>
> "Bert Huijben" <bert_at_qqmail.nl> writes:
>> I really think that it is much easier to just walk the entries files
>> an old style-lock, constructing a new sqlite db 'upgrade.db' somewhere
>> outside the normal location using upgrade specific code.
> That might be another way to do it. If we construct a temporary 1.7
> root within the 1.6 root, something like:
> .svn/tmp/qyh2h2n2/.svn/wc.db
> then we should be able to query that database by converting a path
> /some/wc/A/B by to /some/wc/.svn/tmp/qyh2h2n2/A/B.
> --
> Philip
Received on 2010-08-27 17:47:48 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.