FindSubversion: Invoke svn non-interactively (#12304)

Otherwise Subversion_WC_LOG hangs if credentials are not set.
This commit is contained in:
Aaron C. Meadows 2011-06-24 15:39:40 -04:00 committed by Brad King
parent 26607e9ae3
commit 0c6e8524fe
1 changed files with 1 additions and 1 deletions

View File

@ -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