MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0005492 | CMake | Modules | public | 2007-08-14 06:03 | 2016-06-06 16:39 |
|
Reporter | ChocoKiller | |
Assigned To | Marcel Loose | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
|
Summary | 0005492: FindSubversion.cmake cannot find the infos on "localized" versions of subversion |
Description | When 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. |
Steps To Reproduce | |
Additional Information | Fedora 7 in french
FreshRPMs repo
Subversion 1.4.3-4
CMake 2.4.6-4 |
Tags | No tags attached. |
Relationships | related to | 0007047 | closed | Brad King | FindSubversion.cmake Windows fixes |
|
Attached Files | FindSubversion.cmake (7,066) 2007-08-14 06:03 https://public.kitware.com/Bug/file/1108/FindSubversion.cmake cmCTestUpdateHandler.cxx.patch (2,497) 2007-10-23 14:49 https://public.kitware.com/Bug/file/1202/cmCTestUpdateHandler.cxx.patch |
|
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 |