View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012304CMakeModulespublic2011-06-24 14:522012-03-07 10:53
ReporterAaron C. Meadows 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.4 
Target VersionCMake 2.8.6Fixed in VersionCMake 2.8.6 
Summary0012304: FindSubversion.cmake macro Subversion_WC_LOG hangs if credentials are not set.
DescriptionIf 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 ReproduceHave 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 InformationThis 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.
TagsFindSubversion, patch
Attached Filespatch file icon FindSubversion.cmake.patch [^] (622 bytes) 2011-06-24 14:52 [Show Content]

 Relationships
related to 0013024closedBrad King some ctest svn calls may hang waiting for user input 

  Notes
(0026967)
Brad King (manager)
2011-06-24 15:44

Applied, thanks:

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0c6e8524 [^]
(0028501)
David Cole (manager)
2012-02-06 06:07

Closing resolved issues that have not been updated in more than 4 months.

 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


Copyright © 2000 - 2018 MantisBT Team