mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
FindSubversion: Invoke svn non-interactively (#12304)
Otherwise Subversion_WC_LOG hangs if credentials are not set.
This commit is contained in:
1 parent
26607e9ae3
commit
0c6e8524fe
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user