[CMake] 0012304: FindSubversion.cmake macro Subversion_WC_LOG hangs if credentials are not set.

aaron.meadows at thomsonreuters.com aaron.meadows at thomsonreuters.com
Fri Jun 24 14:59:37 EDT 2011


http://public.kitware.com/Bug/view.php?id=12304

 

I've added this bug, along with a patch to correct it.

 

Here is the patch:

--- ../../src.orig/cmake-2.8.4/Modules/FindSubversion.cmake
2011-02-15 14:51:41.000000000 -0600

+++ FindSubversion.cmake        2011-06-24 11:27:49.382800000 -0500

@@ -109,7 +109,7 @@

     # 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

 

Aaron Meadows
Software Engineer

Thomson Reuters

Phone: 314.468.3530
Mobile: 636.541.6139
aaron.meadows at thomsonreuters.com
thomsonreuters.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110624/27ee2566/attachment.htm>


More information about the CMake mailing list