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

Re: svn_client_log - add copyto as partner of copyfrom?

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-05-01 20:48:08 CEST

Barry Scott wrote:
>> If you come up with a brilliant way to determine and populate that
>> copyto info, you just let me know.
>>
> So its a good idea, but its hard to implement?
>
> How do you populate the copy_from list? Isn't the copy_to list the same
> problem? On a copy you have to record the copy_to info on the src
> and copy_from in the dest.

I think part of the issue is that copy_from is a one-to-one relationship (a file
can only be copied from one file). copy_to, however, is potentially
one-to-many, which complicates the storage on the source (since you have to
track each and every copy_to). A single file could potentially be used as the
source for every other file in the repository, so you'd have to have an way of
storing a limitless number of copy_to pointers in a way that wouldn't be slow to
add new values.

It's also something that would mean the repository format would change
completely, plus I don't know how difficult it would be to recreate the copy_to
list during conversion. It would require at least one extra pass through the
data to read the copy_from's and intuit the copy_to's.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 1 20:48:08 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.