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

Re: thoughts about shelving

From: Greg Stein <gstein_at_gmail.com>
Date: Sat, 15 Sep 2018 08:42:54 -0500

On Sat, Sep 15, 2018 at 4:03 AM Julian Foad <julianfoad_at_apache.org> wrote:
>...

> > * when users update to the new version, existing shelves can't be used
> > anymore since they're not compatible. Is there a way to convert the old
> > shelves to the new format? If not then that means users would lose those
> > saved shelves.
>
> There isn't a way to convert old shelves (which are patch files) to the
> new format.
>
> However, as they are just patch files, there is an easy manual work-around
> to still apply them -- using "svn patch <full path>".
>

When I envisioned the implementation of shelving, I figured that we would
use the sql database to its best effect. Store new pristines (which is
logically just key->fulltext). Maybe create an artificial wc_id to
construct an alternate tree of ACTUAL_NODE entries where you can store node
information of the items on the shelf.

We have a database. I see no reason to fall back to messing with patch
files.

>...

Cheers,
-g
Received on 2018-09-15 15:43:22 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.