AW: Re: Is label support in future release?
From: Felix Gilcher <gilcher_at_exozet.com>
Date: 2006-11-20 18:29:00 CET
Tim Hill <mailto:drtimhill@comcast.net> schrieb am Montag, 20. November 2006 17:37:
> On Nov 20, 2006, at 4:37 AM, Jeremy Pereira wrote:
I have. And apart from the problems that trained people, non-tech people have with version control in general I haven't had a single problem so far. But this is coincidential evidence and I don't doubt in any way that explaining these concepts may be difficult.
Most non-tech people don't need to know about "when was this tag created from which path and at which revision". They need to be able to check out a tag, they need to compare a tag with another one and they need to be able to create a tag. All of this is simple the way things currently are once you wrapped your mind around the "a tag is a copy" paradigm.
The best thing is not to call that thing a "tag" but just teach them "release copies are found in the folder 'tags'".
>>
To the contrary: The fact that subversion allows me to name tags any way I like gives me the freedom to call them "releases" for all non technical users out there. It allows me to build a directory structure and split tags into "dev, qa, release" if the project requires it. And I can bless them all to be immutable if I wish so.
However, using the name "tag" is a good convention and some tools (TortoiseSVN e.g.) will warn you if you try commiting to a subfolder of the tags folder.
>
You can do that. Put the proper hook in place and you don't even need the --immutable switch. You can even grant some people the permission to modifiy tags (although not recommended, but still occasionally useful). The argument that a hook is not part of subversion does not count IMO: hooks are an integral part of subversion and any subversion administrator should be capable of putting a suitable one in place. There are sufficient examples out there.
>
You can do that, however the syntax is slightly different: 'svn copy -m"tagging this wc" . repo/tags/tagname'. This creates a tag with you desired name at commit time. There are other implications to this: you get a tag that does represent a state not in the trunk or any other branch, but this is more a problem with mixed revision working copies. I wouldn't do it but it is certainly possible.
If you imply that you command should commit to whatever path the working copy was checked out and then tag that revision: I'd not do that either as you might be tagging an untested state.
If you want the syntax to be 'svn tag' instead of 'svn copy' feel free to write a wrapper. TortoiseSVN does this btw: you get a "tag/branch" command that maps directly to a copy operation.
>
You can't, but I rarely use this (at least not with checkout). I can imagine it could be useful if you were to do lots of merging from/to branches (merge all changes from the trunk from the revision on that this branch was created). Things such as "Show all log messages in the trunk from tag_a to tag_b". However, I can live without that and it can be scripted: Write a wrapper to svn that checks wether a revision argument is a valid svn url and substitute it by the revision number the url was copied from (obtainable by svn log --stop-on-copy).
>
No. It's not happening because noone could write a formal spec that takes care of quite a lot of nasty corner cases and still makes life simpler. Noone volunteered to write the nessesary code either, the people developing this great great software have limited time (just like you and me probably) and decided that they regard other features as more important or more entertaining and thus will implement those first. I can not and will not hold that decision against them - their fun project is a valuable tool for me, saving me hours and hours of stupid work. Most, if not all problems I've seen in this thread are solveable in some way or another, some may seem or be a little awkward to use but you can abuse the full power of your favourite shell to make your life easier.
People here are trying to explain the reasons behind the current way things work and to help you find ways how you can solve you problems with the current featureset until perhaps sometimes label support might get implemented.
>
regards
felix
-- Felix Gilcher Head of IT Development Exozet Berlin GmbH Rotherstraße 20 10245 Berlin eMail: gilcher@exozet.com URL: www.exozet.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Mon Nov 20 18:29:59 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.