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

Re: Determining origin of branch

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-03-26 14:06:04 CET

Stefan Haller wrote:

> Gary Feldman <gary@memento-inc.com> wrote:
>
>
>>Having created a branch, how does one determine the revision from which that
>>branch was copied?
>
>
> Opposite question: Given a file on the trunk, how do I determine which
> branches branch off of its history, or which tags it has? I guess I
> would need to find out all places that this file has been copied to.

Yup. Brute force search at the moment. This is the "dark side" of
order 1 branching/tagging. RCS files can answer this question
instantly, because the data is being indexed in the opposite direction.
  Of course, that's also the reason it takes O(N) time to tag in CVS.

There's been discussion of changing the svn database schema to create
"forward links" from a copy-source node to the copy-target node,
whenever a copy is made, but no definite plans yet. That may help quite
a bit.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 26 14:07:43 2004

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