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

Re: Tagging and trunk history

From: Dorothy Robinson <mokuren_at_aracnet.com>
Date: 2006-01-14 05:03:15 CET

>From: Paul Koning [mailto:pkoning@equallogic.com]
>
>
>>>>>>"Hendrik" == Hendrik Scheider <Scheider> writes:
>
> Hendrik> Dear all, when I branch/tag, however you name it, this
> Hendrik> action is only visible in the copy's history. How can make
> Hendrik> it appear in the trunks history as well?
>
>You can't. It's a copy operation, and copy is a change on the
>destination, not on the source. The trunk is the source, so the copy
>is invisible.
>
>This is a fundamental difference in approach vs. CVS. In CVS, tags
>and branches are attributes of a file, and the whole history tree of a
>file is in one place, with all the entries mixed together strangely.
>In Subversion, a tag or branch is a copy in the namespace. From any
>point in the namespace, you only see the history of the branch you're
>on (including the point prior to the copy point, i.e., the "fork in
>the history", unless you say --stop-on-copy). But you do NOT see the
>whole history tree, not unless you ask at the root of the repository.

With sufficient motivation - the kind that you only have if you don't know any better :-) it's possible to construct a branch-diagram view of a file's history in Subversion. Such a diagram, of a file in the Subversion project itself, is shown in <http://www.twobarleycorns.net/tkcvs/branch_svn.png>. This branch-browser is implemented as part of TkCVS/TkSVN. Going against Subversion's design approach as it does, it's very inefficient, especially if the repository is accessed over the internet. A worst-case scenario can take 10 minutes or so. But that's really worst-case. Using the option to ignore the tags, and/or using LAN access, it's reasonably usable.

I don't know if that helps for what you need to do. It's intended for the occasional visual inspection of a file's history, obviously.

dorothy
http://www.twobarleycorns.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jan 14 05:05:17 2006

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.