MantisBT - CMake
View Issue Details
0015081CMakeCMakepublic2014-08-13 09:512015-01-05 08:39
ycollet 
Brad King 
normalminoralways
closedfixed 
CMake 2.8.12.2 
CMake 3.1CMake 3.1 
0015081: ExternalProject: Clarify SVN_REVISION usage in documentation
In my project, I use ExternalProject to checkout a subversion repo.
In the doc, it is indicated that you must use "SVN_REVISION rev" with rev the revision number.
After some tries, I finally noticed that you must use the following format:

SVN_REVISION -r 2041

Otherwise, ExternalProject complains that 2041 is not an URL.
No tags attached.
Issue History
2014-08-13 09:51ycolletNew Issue
2014-08-13 10:52Brad KingNote Added: 0036610
2014-08-18 11:27Brad KingNote Added: 0036635
2014-08-18 11:27Brad KingAssigned To => Brad King
2014-08-18 11:27Brad KingStatusnew => assigned
2014-08-18 11:27Brad KingTarget Version => CMake 3.1
2014-08-18 11:27Brad KingSummaryProblem with ExternalProject checkout of specific revision => ExternalProject: Clarify SVN_REVISION usage in documentation
2014-08-18 11:33Brad KingStatusassigned => resolved
2014-08-18 11:33Brad KingResolutionopen => fixed
2014-08-18 11:33Brad KingFixed in Version => CMake 3.1
2015-01-05 08:39Robert MaynardNote Added: 0037615
2015-01-05 08:39Robert MaynardStatusresolved => closed

Notes
(0036610)
Brad King   
2014-08-13 10:52   
I think the best form is actually

 SVN_REVISION -r2041

Note that it can also be a date:

 SVN_REVISION "-r{2014-01-01 01:01:00 +0000}"

Perhaps the documentation should simply be updated as:

-# [SVN_REVISION rev] # Revision to checkout from Subversion repo
+# [SVN_REVISION -r<rev>] # Revision to checkout from Subversion repo
(0036635)
Brad King   
2014-08-18 11:27   
Docs updated:

 ExternalProject: Clarify SVN_REVISION format in docs
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b26faaf1 [^]
(0037615)
Robert Maynard   
2015-01-05 08:39   
Closing resolved issues that have not been updated in more than 4 months