[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: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 27 Aug 2010 17:03:25 +0100

Greg Stein <gstein_at_gmail.com> writes:

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

Upgrade calls _scan_addition on the parent when writing a node, see
entries.c:write_entry.

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

If I put the new database it in .svn/wcng/.svn/wc.db, in the root of
the working copy, then I no longer need the special mode. When the
upgrade is complete I move it to .svn/wc.db.

-- 
Philip
Received on 2010-08-27 18:04:08 CEST

This is an archived mail posted to the Subversion Dev mailing list.