summaryrefslogtreecommitdiffstats
path: root/Modules/FindSubversion.cmake
diff options
context:
space:
mode:
authorAaron C. Meadows <aaron.meadows@thomsonreuters.com>2011-06-24 19:39:40 (GMT)
committerBrad King <brad.king@kitware.com>2011-06-24 19:41:43 (GMT)
commit0c6e8524fe24c356d31c011d6bed8819d86a480d (patch)
tree4106f84fb884a9297c0f011e4d6f10f8598443aa /Modules/FindSubversion.cmake
parent26607e9ae32ab8e62a94cbf9b93f8653a3a7756a (diff)
downloadCMake-0c6e8524fe24c356d31c011d6bed8819d86a480d.zip
CMake-0c6e8524fe24c356d31c011d6bed8819d86a480d.tar.gz
CMake-0c6e8524fe24c356d31c011d6bed8819d86a480d.tar.bz2
FindSubversion: Invoke svn non-interactively (#12304)
Otherwise Subversion_WC_LOG hangs if credentials are not set.
Diffstat (limited to 'Modules/FindSubversion.cmake')
-rw-r--r--Modules/FindSubversion.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindSubversion.cmake b/Modules/FindSubversion.cmake
index d8cdacb..4166d99 100644
--- a/Modules/FindSubversion.cmake
+++ b/Modules/FindSubversion.cmake
@@ -109,7 +109,7 @@ IF(Subversion_SVN_EXECUTABLE)
# This macro requires a svn server network access (Internet most of the time)
# and can also be slow since it access the svn server
EXECUTE_PROCESS(COMMAND
- ${Subversion_SVN_EXECUTABLE} log -r BASE ${dir}
+ ${Subversion_SVN_EXECUTABLE} --non-interactive log -r BASE ${dir}
OUTPUT_VARIABLE ${prefix}_LAST_CHANGED_LOG
ERROR_VARIABLE Subversion_svn_log_error
RESULT_VARIABLE Subversion_svn_log_result