RE: Similating "label" feature in Subversion?
From: Bicking, David (HHoldings, IT) <David.Bicking_at_thehartford.com>
Date: 2007-08-28 16:23:07 CEST
> -----Original Message-----
------------8<----------------
> then use svn co path_to_tag_name to go back to.
AND
> From: Dave Grundgeiger [mailto:dave.grundgeiger@codenouveau.com]
Thanks guys. I think it is safe to say that what I seek is not available and probably won't be added to Subversion, but the existing techniques, as you describe, get the basic job done. Dave, to your point, "revert to any tag at will", is different as you describe it from what I was seeking. What actually happens in your revert is a "reverse-merge" as I call it, which puts at the tip the same code that was in the tag. I was looking at it from a different angle: right-click the label, choose "rollback", and essentially delete all revisions after that label in the _codeline_ that was labeled.
If we use Subversion we simply have to come to grips with a few points:
1. If we tag liberally, we will have a very large repository directory (but fairly small usage of repository space).
2. "rollback" as usually understood does not exist in Subversion. A similar outcome is achieved by a kind of "commit in reverse order". Unlike "traditional rollback", this preserves all changes (in both directions) in history and is slightly more complicated to execute.
3. To tag individual files, we select them and copy them into a tag folder. Hopefully, we would not have reason to do this, because it would require manual duplication of the folder tree (create folder), and I'm not sure if this would be manageable or useful in the repository long term.
4. We cannot look at the history of a file (in a codeline) and see which labels it received, and do a compare between labels. I am unsure how we could get the same result in Subversion w/o much manual work. We would have to determine which tags contained the file and at what revision, then initiate a comparison on the appropriate codeline based on revision numbers. Clunky at best, impossible at worst. In fact, this means we have to make sure we associate individual tags very closely to their branches, which I guess is a best practice anyway. If the label were associated with the file, rather than representing a copy of said file, there would be no danger of any label being listed with the wrong branch, as they are attached to the codeline in question.
-- David ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Tue Aug 28 16:20:38 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.