Jeff Smith wrote:
> I perceive that you have trouble because you are keeping in your mind
> the two different ways that cvs tracks tags and branches internally.
> I can tell that deep down you know the two are much the same:
> * A [tag] is a tree of files given a name, and selected from
> certain revisions of certain files.
> * A [branch] is a tree of files given a name, and selected from
> certain revisions of certain files.
>
> Then why does cvs track them two different ways? Why to make it more
> complicated, of course ;-)
No, in cvs, a tag is just a label applied to a file/revision to make it
easy to find a set with that label again and do group operations on
them. Tags never divorce a file from its subsequent revisions as can
happen in subversion.
> 2. Soon I have some releases which I have tagged:
> `svn copy trunk/pname tags/build.1` :tag current dir as "build.1"
> `svn copy trunk/pname tags/build.2` :tag current dir as "build.2"
>
> 3. I want to work off of build.1 now for small bugfix.
> `svn copy tags/build.1 branches/build.1-fix1` :branch from "build.1"
> [fix bug in branches/build.1-fix1]
>
> 4. I realize I need "sub" folder to be at build.2
> `svn switch svn://localhost/r/tags/build.2/sub
> branches/build.1-fix1/sub` :mixed revisions in this working copy
I think the unanswered question is, starting from a subversion tag copy,
where subsequent work has been done on the corresponding files in
branch/trunk copies, how do you take only the tagged files, but advance
them to HEAD (or some arbitrary rev number)? In cvs, since all
revisions exist in a single versioned file, you can look 'forward' past
the tag. What is the equivalent subversion operation, especially for
tags copied from a working copy where the tagged revision may not match
anything else in the repository?
--
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 Thu Mar 8 18:41:34 2007