SvnInfoConsumer not I18N aware
------------------------------

                 Key: SCM-482
                 URL: http://jira.codehaus.org/browse/SCM-482
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-svn
    Affects Versions: 1.2
         Environment: Debian GNU Linux (squeeze), Subversion 1.5.6
            Reporter: Grzegorz Grzybek


There is a problem with class 
{{org.apache.maven.scm.provider.svn.svnexe.command.info.SvnInfoConsumer}} - it 
heavely depends on:
bq. svn --non-interactive info
result
which differs under different locale settings

It would be *much* better if 
{{org.apache.maven.scm.provider.svn.svnexe.command.info.SvnInfoCommand.createCommandLine(SvnScmProviderRepository,
 ScmFileSet, boolean, String)}} use:
bq. svn --non-interactive --xml info
instead of:
bq. svn --non-interactive info

the former produces:{panel}
<?xml version="1.0"?>
<info>
<entry
   kind="dir"
   path="."
   revision="1647">
<url>http://javelin/svn/com.winuel.sip/trunk</url>
<repository>
<root>http://javelin/svn/com.winuel.sip</root>
<uuid>e17e3fd1-5418-7e4b-8253-85740d203573</uuid>
</repository>
<wc-info>
<schedule>normal</schedule>
<depth>infinity</depth>
</wc-info>
<commit
   revision="1647">
<author>grgr</author>
<date>2009-07-14T11:49:37.776704Z</date>
</commit>
</entry>{panel} and the latter (on my computer):{panel}
&#346;cie&#380;ka: .
URL: http://javelin/svn/com.winuel.sip/trunk
Katalog g&#322;ówny repozytorium: http://javelin/svn/com.winuel.sip
UUID repozytorium: e17e3fd1-5418-7e4b-8253-85740d203573
Wersja: 1647
Rodzaj obiektu: katalog
Zlecenie: normalne
Autor ostatniej zmiany: grgr
Ostatnio zmieniona wersja: 1647
Data ostatniej zmiany: 2009-07-14 13:49:37 +0200 (Wt){panel}

It's obvious that this command should be locale-independent

regards
Grzegorz Grzybek

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to