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

Re: svn copy - tags - parent dir and create paths

From: allan juul <lambretta_at_inet.uni2.dk>
Date: 2005-01-02 20:57:46 CET

Scott Palmer wrote:
>
> On Jan 2, 2005, at 5:30 AM, allan juul wrote:
>
>> Scott Palmer wrote:
>>
>>> Why not just treat 'tags' the same as 'trunk'.. add the subprojects
>>> directly under 'tags', then put the project specific bits in that
>>> folder?
>>> trunk/subproject_A/
>>> trunk/subproject_B/
>>> tags/subproject_A/V_1_0
>>> tags/subproject_B/V_1_0
>>
>>
>> thanks for the suggestion. we might end up doing something like that.
>>
>> but actually my biggest concern right now is the fact that apparently
>> i can *not* just tag in a single svn command. this is also hard to
>> believe when i think of other version control systems where one "just
>> do it". [eg. 'cvs tag tagname module']. one doesn't have to be
>> bothered about directory structures. i know subversion has a different
>> perspective of tags and branches but to me it's very important that
>> tagging [or branching for that matter] is just something you do (in a
>> single command) and that's it. in out case Tagging will be done very
>> very frequently and to ask people to create subdirectories (one by
>> one) before they eventually can tag is simply too much hassle IMHO.
>
>
> Just create the tags/subproject/ folder at the same time you create the
> trunk/subproject folder. From that point on making a tag for that
> project is still a single command.

the problem in our case is that projects most likely will be created in
trunk only since developers will add these on a day-by-day basis. i dont
want hassle them to also create a project in the tags directory. i just
wish they could do:

$ svn copy URL/whatever/trunkURL URL/whatever/morewhatever2/tagURL

and not think about it anymore. it is so easy to do elsewhere ;)

hmm, i'll post another related question in a second to see if it's
possible at all ...

> Or you could re-think your repository structure and use the alternative:
> /project/trunk
> /project/branches
> /project/tags
>
> structure. The flexibility is there to find something that will fit how
> you like to work.

you are right. that won't fit [perfectly] in our case for various
reasons though.

thanks anyway
./allan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 2 21:15:48 2005

This is an archived mail posted to the Subversion Users mailing list.