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

Re: CVS and SVN: Tags and Branches.. A question of strategies

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2007-03-24 03:40:36 CET

Roy Franz wrote:
> On 3/23/07, Steve Bakke <steven.bakke@amd.com> wrote:
>> Would it be possible to set a property on the specific revision of a file
>> which would indicate which tag the revision is included in?
>>
>>
>> On 3/23/07 4:33 PM, "Les Mikesell" <lesmikesell@gmail.com> wrote:
>>
>> > Jeff Smith wrote:
>> >> On Friday 16 March 2007 16:45, Les Mikesell wrote:
>> >>> The point is more that you can't look backwards from the trunk copy
>> >>> (or maybe some branch) and see at what point the tag was applied.
>> >>
>> >> In either VCS, don't you have to know the name of the tag before you
>> >> can look for it? My point is if you know the tag is named "tag/tag1",
>> >> you don't have to look in "trunk" for that tag. The name already
>> >> tells where it is. Then you have only to look there to see where it
>> >> came from. I don't see any ability that is lost.
>> >
>> > There is no problem getting an exact copy of the tagged version back
>> and
>> > from the tagged version you can see it's history. The problem is
>> > knowing how a file in that version relates to anything else.
>> Looking at
>> > a file of the same name in the trunk/HEAD you can't tell at what point
>> > the tag was applied or even if the file had been deleted and recreated
>> > since then and no longer shares any history. Likewise from the tag,
>> you
>> > can't follow the 'future' revisions that may or may not exist in the
>> > trunk or other branches.
>>
>
>
> Not really, as creating (or updating) that property creates a new
> revision of the file in question. Once a revision is created, it
> cannot be changed, so you can't go back after the fact an update
> properties. (revision properties, or rev-props are different, but
> they are per-revision, not per file.)
>
> Getting the branch/tag 'meta-data' about a file is much harder in
> subversion than CVS, and I don't see any easy way to 'fix' it. I have
> not seen any tools that really help here, I think that most people
> have just learned to not try to get that information from subversion.

I've always considered the cvsweb/viewvc views of a cvs item to be
extremely handy, since you can see what revisions have which tags and
what branches are related.

-- 
   Les Mikesell
    lesmikesell@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 24 03:41:02 2007

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.