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

Re: Dropping Subversion

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-04-02 12:51:50 CEST

C.A.T.Magic wrote:
> Max Bowsher wrote:
>> C.A.T.Magic wrote:
>>> this would require an svn command for something like
>>> 'list all node-copies of this file that currently exist in -rHEAD below
>>> /tags or /branches'
>>> hmm... sounds easy - is it? :-)
>>
>> I think that "list all node-copies of this file" is possible, but it
would
>> be O(n) with the number of node-revisions. So, not so helpful once your
>> repository starts getting big.
>> Max.
>
> it could be O(1) of the DB structure provides the right pointers.

Yes, it could, but db schema changes require *very* *very* careful planning.

> and if limited to -rHEAD the number of nodes is probably not that large.

In the current schema, you still end up scanning all the keys of the nodes
table. Limiting to HEAD is actually *more* work.

> - maybe the planned fs_fs backend can support more node pointers...

I think we want to avoid backend-dependent features as much as we possibly
can.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 2 12:54:30 2004

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.