SvnCheckInConsumer is "English locale" dependent
------------------------------------------------

                 Key: MRELEASE-537
                 URL: http://jira.codehaus.org/browse/MRELEASE-537
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: scm
    Affects Versions: 2.0, 2.0-beta-9
         Environment: Debian
Locale fr_FR
            Reporter: Frédéric Camblor
            Priority: Critical


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".

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