View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005492CMakeModulespublic2007-08-14 06:032016-06-06 16:39
ReporterChocoKiller 
Assigned ToMarcel Loose 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005492: FindSubversion.cmake cannot find the infos on "localized" versions of subversion
DescriptionWhen used on systems with not english language, the localized version of subversion could produce a message (with the "svn info" command) into the language of the system (in my case, in french, with fedora 7). The FindSubversion macro use the "svn info" command, in wich for example, the version is found with a regular expression, searching about "revision: " string. In my system, the "svn info" command produce the string "révision: " which clearly does not match the regular expression, and produce wrong result variables.

I suggest to change the "svn info" command and replace it with "svn info --xml" command, which isn't localized. I attach a modified FindSubversion.cmake file wich works with the xml result. I'm not a regex guru, this code seems to be ugly, but it works ... ;) ... feel free to change it.
Additional InformationFedora 7 in french
FreshRPMs repo
Subversion 1.4.3-4
CMake 2.4.6-4
TagsNo tags attached.
Attached Files? file icon FindSubversion.cmake [^] (7,066 bytes) 2007-08-14 06:03
patch file icon cmCTestUpdateHandler.cxx.patch [^] (2,497 bytes) 2007-10-23 14:49 [Show Content]

 Relationships
related to 0007047closedBrad King FindSubversion.cmake Windows fixes 

  Notes
(0009535)
Félix C. Morency (reporter)
2007-10-23 14:50

I patched CTest to support french SVN info. I guess there is still work to do on this but this is a start.
(0009545)
Félix C. Morency (reporter)
2007-10-24 10:35

Please ignore the attached patch and use the LC_MESSAGES SVN env. variable instead to change the SVN output language.
(0025101)
Marcel Loose (developer)
2011-01-26 17:46

This was already fixed in CMake 2.6 by Brad King in May 2008.

 Issue History
Date Modified Username Field Change
2007-08-14 06:03 ChocoKiller New Issue
2007-08-14 06:03 ChocoKiller File Added: FindSubversion.cmake
2007-10-23 14:49 Félix C. Morency File Added: cmCTestUpdateHandler.cxx.patch
2007-10-23 14:50 Félix C. Morency Note Added: 0009535
2007-10-24 10:35 Félix C. Morency Note Added: 0009545
2007-12-17 21:34 Bill Hoffman Status new => assigned
2007-12-17 21:34 Bill Hoffman Assigned To => Bill Hoffman
2011-01-26 11:25 David Cole Category => Modules
2011-01-26 11:25 David Cole Assigned To Bill Hoffman => David Cole
2011-01-26 11:25 David Cole Assigned To David Cole => Marcel Loose
2011-01-26 17:42 Marcel Loose Relationship added related to 0007047
2011-01-26 17:46 Marcel Loose Note Added: 0025101
2011-01-26 17:47 Marcel Loose Status assigned => closed
2016-06-06 16:39 Brad King Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team