[
https://issues.apache.org/jira/browse/SCM-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962111#comment-17962111
]
ASF GitHub Bot commented on SCM-577:
------------------------------------
jira-importer opened a new issue, #786:
URL: https://github.com/apache/maven-scm/issues/786
**[Frédéric
Camblor](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=fcamblor)**
opened
**[SCM-577](https://issues.apache.org/jira/browse/SCM-577?redirect=false)** and
commented
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".
---
**Issue Links:**
- [SCM-482](https://issues.apache.org/jira/browse/SCM-482) SvnInfoConsumer
not I18N aware
(_**"is superceded by"**_)
> SvnCheckInConsumer is "English locale" dependent
> ------------------------------------------------
>
> Key: SCM-577
> URL: https://issues.apache.org/jira/browse/SCM-577
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Environment: Debian
> Locale fr_FR
> Reporter: Frédéric Camblor
> Assignee: Robert Scholte
> 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 was sent by Atlassian Jira
(v8.20.10#820010)