Explorar el Código

FindSubversion: Invoke svn non-interactively (#12304)

Otherwise Subversion_WC_LOG hangs if credentials are not set.
Aaron C. Meadows hace 14 años
padre
commit
0c6e8524fe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Modules/FindSubversion.cmake

+ 1 - 1
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