C. Michael Pilato wrote on Tue, Sep 13, 2011 at 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.

In other words, run over the noderev-to-predecessor mapping and reverse
it.  No argument about /that/.  But do we make 'svnadmin upgrade' do
that, or do we introduce a bit that says "Set this bit to '1' after
you've built the successors mapping"?

Reply via email to