[cmake-developers] [CMake 0012304]: FindSubversion.cmake macro Subversion_WC_LOG hangs if credentials are not set.
Mantis Bug Tracker
mantis at public.kitware.com
Fri Jun 24 14:52:09 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12304
======================================================================
Reported By: Aaron C. Meadows
Assigned To:
======================================================================
Project: CMake
Issue ID: 12304
Category: Modules
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-06-24 14:52 EDT
Last Modified: 2011-06-24 14:52 EDT
======================================================================
Summary: FindSubversion.cmake macro Subversion_WC_LOG hangs
if credentials are not set.
Description:
If you call Subversion_WC_LOG on a directory and you do not have credentials to
access the server, the macro will hang while the SVN executable waits for a
password to be supplied
Steps to Reproduce:
Have a working copy but do not have saved credentials. Attempt to call
Subversion_WC_LOG with that working copy as the supplied directory. Observe
that the script hangs. Hit control-c, which will be passed to the SVN
executable and cause it to break. Observe that the returned output printed to
the terminal shows the SVN prompt for a password.
Additional Information:
This is easily handled by passing the argument --non-interactive to the SVN
executable. I'm including a patch which adds this argument to the call.
NOTE: It may also be possible the Subversion_WC_INFO to suffer this same
problem, though I think that is unlikely. --non-interactive could be added to
this call as well, possibly abstracting the arguments out into
${Subversion_SVN_EXECUTABLE_DEFAULT_ARGUMENTS} might be appropriate.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-06-24 14:52 Aaron C. MeadowsNew Issue
2011-06-24 14:52 Aaron C. MeadowsFile Added: FindSubversion.cmake.patch
======================================================================
More information about the cmake-developers
mailing list