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

RE: Tags and externals

From: <stephen.3.odonnell_at_bt.com>
Date: 2007-01-09 15:31:52 CET

Yea, that's pretty much what the svncopy.pl script seems to do. I think
it will resolve my problem quite nicely.

 

I posted an error yesterday with svncopy.pl doing something like:

 

perl /home/sodonnel/svncopy.pl --branch
file:///home/sodonnel/svn_branching/test_2/common/trunk
file:///home/sodonnel/svn_branching/test_2/common/branch/bal_3

 

It would seem that the problem is around using the file:// syntax - once
I started up svnserve and tried it using svn:// it worked just fine.

 

Cheers,

 

Stephen.

 

________________________________

From: Bill Williams [mailto:billwilliams@qcsoftware.com]
Sent: 09 January 2007 14:19
To: O'Donnell,S,Stephen,XMB R
Cc: users@subversion.tigris.org
Subject: Re: Tags and externals

 

While I have not used externals as of yet, you can define an explicit
revision number in the external definition; therefore, you will always
get the same thing from the external definition. Wouldn't this take
care of your problem where the comman branch is modified?

stephen.3.odonnell@bt.com wrote:

Hi I am quite new to subversion and am trying out some things to get our
project cleaned up a bit.

If I have a repository structure like:

Prod_a

Prod_b

Common

Each of these directories contains a branch, tags and trunk sub-dir.

I use the propset svn:externals command to link common into Prod_a and
Prod_b and this works as I expected. Then I create a branch, and as
expected I have to update my external link to point to the correct
branch of common.

When I want to make a release, I create a tag (with is basically another
branch), however, when someone changes the common branch the tag is
updated with the new common code, so I have lost my release snapshot.
At first I was shocked, and then I realised this was clearly going to
happen.

So how am I supposed to create a TAG to snapshot my release in this
situation? I had not intended to put any tags in the common code at
all, as its never released outside of Prod_a or Prod_b. Do I have to
change my svn:external link somehow, or is there a better way of doing
what I want?

Thanks,

Stephen.
Received on Tue Jan 9 15:32:19 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.