Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-482

SvnInfoConsumer not I18N aware

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.7
    • maven-scm-provider-svn
    • None
    • Debian GNU Linux (squeeze), Subversion 1.5.6

    Description

      There is a problem with class org.apache.maven.scm.provider.svn.svnexe.command.info.SvnInfoConsumer - it heavely depends on:

      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:

      svn --non-interactive --xml info

      instead of:

      svn --non-interactive info

      the former produces:

      <?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>

      and the latter (on my computer):

      Ścieżka: .
      URL: http://javelin/svn/com.winuel.sip/trunk
      Katalog głó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)

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

      regards
      Grzegorz Grzybek

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              grzes Grzegorz Grzybek
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: