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

SvnCheckInConsumer is "English locale" dependent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Debian
      Locale fr_FR

    Description

      Looking at the SvnCheckInConsumer class (here : http://svn.apache.org/repos/asf/maven/scm/tags/maven-scm-1.3/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/checkin/SvnCheckInConsumer.java) we can say that if message displayed while commiting file is not "Committed revision XXX", revision parsing will fail !

      Maybe the implementation should look at the current Locale ?
      Or (maybe simplier) some regex such as [^0-9]([0-9]+)[^0-9] should be used to match/retrieve current revision number after commit ?

      When using French locale, revision 0 is returned to the SVN commit result ... so, later, tagging fails with some spacy message "revision 0 doesn't exist".

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              fcamblor Frédéric Camblor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: