MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0012304 | CMake | Modules | public | 2011-06-24 14:52 | 2012-03-07 10:53 |
|
Reporter | Aaron C. Meadows | |
Assigned To | Brad King | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | CMake 2.8.4 | |
Target Version | CMake 2.8.6 | Fixed in Version | CMake 2.8.6 | |
|
Summary | 0012304: 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. |
Tags | FindSubversion, patch |
Relationships | related to | 0013024 | closed | Brad King | some ctest svn calls may hang waiting for user input |
|
Attached Files | FindSubversion.cmake.patch (622) 2011-06-24 14:52 https://public.kitware.com/Bug/file/3960/FindSubversion.cmake.patch |
|
Issue History |
Date Modified | Username | Field | Change |
2011-06-24 14:52 | Aaron C. Meadows | New Issue | |
2011-06-24 14:52 | Aaron C. Meadows | File Added: FindSubversion.cmake.patch | |
2011-06-24 14:52 | Aaron C. Meadows | Tag Attached: FindSubversion | |
2011-06-24 14:52 | Aaron C. Meadows | Tag Attached: patch | |
2011-06-24 15:43 | Brad King | Assigned To | => Brad King |
2011-06-24 15:43 | Brad King | Status | new => assigned |
2011-06-24 15:44 | Brad King | Note Added: 0026967 | |
2011-06-24 15:44 | Brad King | Status | assigned => resolved |
2011-06-24 15:44 | Brad King | Resolution | open => fixed |
2011-09-12 17:11 | David Cole | Fixed in Version | => CMake 2.8.6 |
2011-09-12 17:11 | David Cole | Target Version | => CMake 2.8.6 |
2012-02-06 06:07 | David Cole | Note Added: 0028501 | |
2012-02-06 06:07 | David Cole | Status | resolved => closed |
2012-03-07 10:53 | Brad King | Relationship added | related to 0013024 |