<div dir="ltr">Hi Jens, <div><br></div><div style>You could specify the revision using: SVN_REVISION -r "17027"</div><div style><br></div><div style>For example:</div><div style> <a href="https://github.com/Slicer/Slicer/blob/f3b155fdf266134c274c97773710f4d4e7514858/SuperBuild/External_EMSegment.cmake#L25">https://github.com/Slicer/Slicer/blob/f3b155fdf266134c274c97773710f4d4e7514858/SuperBuild/External_EMSegment.cmake#L25</a></div>
<div style><br></div><div style>Hth</div><div style>Jc</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 21, 2013 at 11:08 AM, Jens Auer <span dir="ltr"><<a href="mailto:jensa@miltenyibiotec.de" target="_blank">jensa@miltenyibiotec.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am trying to checkout a specific revision of external dependencies from our repositoty using the SVN_REPOSITOTY parameter of ExternalProject_Add, but always get the following error:<br>
2> Creating directories for 'Hippomocks'<br>
2> Performing download step (SVN checkout) for 'Hippomocks'<br>
2> A Hippomocks\hippomocks\include<br>
2> A Hippomocks\hippomocks\include\hippomocks<br>
2> A Hippomocks\hippomocks\include\hippomocks\hippomocks.h<br>
2> A Hippomocks\hippomocks\CMakeLists.txt<br>
2> Checked out revision 8888.<br>
2> svn: E125002: '8887' does not appear to be a URL<br>
<br>
When I looked into the source code, I see that the command line for svn is created as<br>
set(cmd ${Subversion_SVN_EXECUTABLE} co ${svn_repository} ${svn_revision}<br>
--non-interactive ${svn_trust_cert_args} ${svn_user_pw_args} ${src_name})<br>
<br>
According to the svn documentation page, I would have to give the revision with a special option -revision. Is this a bug or am I misinterpreting the ExternalProject_Add command parameters? Is SVN_REVISION the path in the repository I specify with SVN_REPOSITORY?<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>+1 919 869 8849<br>
</div>