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

Re: Merging 2 repositories

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-02-18 21:17:26 CET

Mark Benedetto King wrote:

> You load them together and get
>
> /trunk/a/ and /trunk/b/
> r1 @ 2004-01-01
> r2 @ 2004-01-02
> r3 @ 2004-01-03
> r4 @ 2004-01-01
> r5 @ 2004-01-02
> r6 @ 2004-01-03
>
> You then do "svn log -r {2004-01-02:HEAD} .../trunk"
>
> The date-revision mapper will determine that r2 is the revision
> associated with 2004-01-02, and will then show r2, r3, r4, r5, and r6
> in the output. Note that r4 should not be shown, since it is before
> 2004-01-02.

But those are not independent modules (since they share a common parent
directory other than root). If you loaded them as

/A/trunk/a
/B/trunk/b

there would be no conflict. Clearly, the date-revision mapper should not make
the assumtion that the revision number is anything except an artifact or the
storage schema (i.e. has no direct relationship to commit date). At the very
least, when performing date queries, the node date should be compared as the
revision tree is walked at all points, and not just when locating the initial node.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 18 21:17:29 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.