/[gentoo-x86]/dev-util/cmake/files/cmake-2.8.6-testsvn17.patch
Gentoo

Contents of /dev-util/cmake/files/cmake-2.8.6-testsvn17.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jul 8 23:35:54 2012 UTC (2 years, 1 month ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)

1 diff --git a/Tests/CTestUpdateSVN.cmake.in b/Tests/CTestUpdateSVN.cmake.in
2 index 97b2a07..edafb4ef 100644
3 --- a/Tests/CTestUpdateSVN.cmake.in
4 +++ b/Tests/CTestUpdateSVN.cmake.in
5 @@ -23,6 +23,16 @@ file(MAKE_DIRECTORY ${TOP}/config)
6 set(SVNCMD ${SVN} --config-dir ${TOP}/config)
7 set(SVNUSER --username "test author" --non-interactive)
8
9 +# Configure for this svn version.
10 +execute_process(
11 + COMMAND ${SVN} help add OUTPUT_VARIABLE help_add ERROR_VARIABLE help_add
12 + )
13 +if("${help_add}" MATCHES "--depth")
14 + set(depth_empty "--depth=empty")
15 +else()
16 + set(depth_empty "")
17 +endif()
18 +
19 #-----------------------------------------------------------------------------
20 # Initialize the testing directory.
21 message("Creating test directory...")
22 @@ -63,7 +73,7 @@ update_content(user-source files_added files_removed dirs_added)
23 if(dirs_added)
24 run_child(
25 WORKING_DIRECTORY ${TOP}/user-source
26 - COMMAND ${SVNCMD} add ${dirs_added}
27 + COMMAND ${SVNCMD} add ${depth_empty} ${dirs_added}
28 )
29 endif(dirs_added)
30 run_child(

  ViewVC Help
Powered by ViewVC 1.1.20