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

Using a varable in an external URL

From: anthony winner <anthony.winner_at_insydesw.com>
Date: Tue, 26 May 2009 10:10:35 -0700

Due to the nature of our build tree we have multiple externals pointing to
folders in a single tag, i.e.

Dir1 http://domain/repos/proj1/Tag/tagA/dir1
Dir2 http://domain/repos/proj1/Tag/tagA/dir2
Dir3 http://domain/repos/proj1/Tag/tagA/dir3
Dir4 http://domain/repos/proj1/Tag/tagA/dir4

Obviously this is a shortened version, we have > 10 folders like this, and
when updating to a new tag, editing all the individual externals is a pain.
What I would live to have a variable set the tag and do something like this:

CurrentTag = "tagA"
Dir1 http://domain/repos/proj1/Tag/$CurrentTag$/dir1
Dir2 http://domain/repos/proj1/Tag/$CurrentTag$/dir2
Dir3 http://domain/repos/proj1/Tag/$CurrentTag$/dir3
Dir4 http://domain/repos/proj1/Tag/$CurrentTag$/dir4

Is this possible, or is there some method to accomplish this that I have
overlooked in the documentation?

Thanks,

Anthony Winner

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2353937

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-26 19:15:16 CEST

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.