From 0c6e8524fe24c356d31c011d6bed8819d86a480d Mon Sep 17 00:00:00 2001 From: "Aaron C. Meadows" Date: Fri, 24 Jun 2011 15:39:40 -0400 Subject: FindSubversion: Invoke svn non-interactively (#12304) Otherwise Subversion_WC_LOG hangs if credentials are not set. --- Modules/FindSubversion.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12