relative externals

Jul 30, 2010 at 6:27 PM
As far as I can tell, svnxf does not support relative externals (..\..\..\filename) Are there any plans to make svnxf support relative externals?
Coordinator
Jul 30, 2010 at 8:32 PM

I will look into making this change next week.  I am guessing I can get the domain name from the either collabnet or tortoisesvn cache.  I will need to research.

Jul 30, 2010 at 10:08 PM

If you run your freeze batch file with test mode on, it finds the externals and their revisions correctly.

the Path= shows the correct full path. If you were to use that path, and remove each last directory for each ../ and append the remaining it would work out to the complete path. Here is some output from relative paths.

 

<?xml version="1.0"?>
<properties>
<target
   path="https://svn.mydomain.com/svn/Development/Projects/intranet.communityLivingbc.ca/tags/1.1.1.002">
<property
   name="svn:externals">
</property>
</target>
<target
   path="https://svn.mydomain.com/svn/Development/Projects/intranet.mydomain.com/tags/1.1.1.002/Intranet.Change Requests/1.1.1/CR29108 - Intranet Glossary">
<property
   name="svn:externals">-r 16496 ../../../Intranet.Main%20Site/Features/Glossary_Viewer@16496 Glossary_Viewer
-r 16496 ../../../Intranet.Main%20Site/Lists/Glossary_List/clbc_glossary.stp@16496 clbc_glossary.stp
</property>
</target>
</properties>

 

The Glossary_Viewer external, if you take off the three ../ and remove the last three folders in the path (up to 1.1.1.002) and append the remaining (/Intranet.Main%20...) that is the correct path.

 

That would be fantastic if you added relative path support.

 

Cheers,

Chris