tags:

views:

1355

answers:

3

is there any way to use Relative path when configuring subversion externals.

for example Trunk - directoryA - directoryB - projectA {external DirectoryB}

for configuring ProjectA we have to configure full path in the external property.

which is causing problems or forcing us to do change the properties when we do branches.

any way to automate the branching process or fix with absolute path will be useful

+7  A: 

Subversion 1.5 clients support relative urls:

See the Subversion 1.5 release notes and the subversion manual for more details

Some examples: (Note that the comment syntax is not supported)

# Repository root relative
^/projectX/trunk/src/ projectX

# Relative to current directory
../../dependency/X X

# Server root relative
/svn/repos/projectX/trunk/src projectX

# Schema relative
//svn.collab.net/repos/svn/trunk svn
Bert Huijben
A: 

good , thanks , i will upgrade my svn client to 1.5

sundar venugopal
A: 

the big news for me is that the syntax has been changed (inverted that is)... that explains why i was never able to make relative externals work

thanks for the link, Bert

Jaroslav Záruba