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

Re: Status of fs-successor-ids

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Tue, 13 Sep 2011 14:25:14 -0400

On 09/13/2011 02:04 PM, Daniel Shahaf wrote:
> Does anyone have ideas for how to implement 'upgrade' for the BDB backend?

The BDB situation should be about the easiest scenario possible. I mean,
it's a database, for crying out loud. My not-completely-thought-out
approach would be: run a cursor over the whole `nodes' table, reading
node-revision-ids (the keys of that table) and precessor-ids (parsed from
the values of that table), and store the reverse mapping in the `successors'
table.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2011-09-13 20:25:51 CEST

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