[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-03 19:35:32 CET

Dale Worley wrote:

> -----Original Message-----
> From: allan juul [mailto:lambretta@inet.uni2.dk]
>
> Developer A maintain subproject_A while developer B maintain subproject_B.
>
> Now developer A wish to create a tag named v_1_0:
>
> $ svn copy \
> URL/paint/trunk/subproject_A \
> URL/paint/tags/v_1_0 \
> -m "Tagging subproject_A"
>
>
> Browsing the repository from the tags directory will now look like this:
>
> tags
> tags/v_1_0
> tags/v_1_0/file_A.txt
>
>
> Now developer B wish to create a tag named v_1_0:
>
> $ svn copy \
> URL/paint/trunk/subproject_B \
> URL/paint/tags/v_1_0 \
> -m "Tagging subproject_B"
>
>
> Browsing the repository from the tags directory will now look like this:
>
> tags
> tags/v_1_0
> tags/v_1_0/file_A.txt
> tags/v_1_0/subproject_B/
> tags/v_1_0/subproject_B/file_B.txt
> ---------------------------------------------------------------------
>
> It seems to me that part of the problem comes from the fact that developer A
> and developer B are both trying to create a tag "v_1_0", desipte that the
> code developer A is putting into the tag has little to do with the code that
> developer B is putting into the tag -- the files are related only because
> they have the same name.
>
> It would make more sense to have:
>
> tags/subproject_A/v_1_0
> tags/subproject_A/v_1_1
> tags/subproject_A/...
> tags/subproject_B/v_1_0
> tags/subproject_B/v_1_1
> tags/subproject_B/...
>
> Then developer A would always do
>
> $ svn copy \
> URL/paint/trunk/subproject_A \
> URL/paint/tags/subproject_A/v_... \
> -m "Tagging subproject_A"
>
> and developer B would always do
>
> $ svn copy \
> URL/paint/trunk/subproject_B \
> URL/paint/tags/subproject_B/v_... \
> -m "Tagging subproject_B"
>
> This makes more sense, and as a side-effect, eliminates much of the problem
> you are having.

i agree on the layout you suggest. but a side-problem then becomes the
*adding* of new subprojects. in order for this layout to work we must
have the new subprojects added in the Tags directory (this becomes
cumbersome for developers who just want to develop without thinking too
much of their version control system layout)

thanks again
./allan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 3 19:38:05 2005

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.