maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vsevolod Minkov (JIRA)" <j...@codehaus.org>
Subject [jira] (SCM-684) Mercurial - Unparseable date
Date Wed, 12 Feb 2014 09:57:57 GMT

    [ https://jira.codehaus.org/browse/SCM-684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=341269#comment-341269
] 

Vsevolod Minkov commented on SCM-684:
-------------------------------------

Any news on this issue? It's really makes our CI server cry

> Mercurial - Unparseable date
> ----------------------------
>
>                 Key: SCM-684
>                 URL: https://jira.codehaus.org/browse/SCM-684
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-mercurial (hg)
>    Affects Versions: 1.5
>            Reporter: franek
>            Priority: Blocker
>         Attachments: fix-hg-blame-parsing.patch
>
>
> Scm Activity Plugin returns a warning for many lines of my code :
> {code}
> java.text.ParseException: Unparseable date: "<user@mail.com> c55d9b230751 Wed Jun
06 14:15:52 2012 +0200"
> 	at java.text.DateFormat.parse(DateFormat.java:337) ~[na:1.6.0_31]
> 	at org.apache.maven.scm.util.AbstractConsumer.parseDate(AbstractConsumer.java:112) ~[maven-scm-api-1.7.jar:1.7]
> 	at org.apache.maven.scm.provider.hg.command.blame.HgBlameConsumer.doConsume(HgBlameConsumer.java:71)
[maven-scm-provider-hg-1.7.jar:1.7]
> 	at org.apache.maven.scm.provider.hg.command.HgConsumer.consumeLine(HgConsumer.java:131)
[maven-scm-provider-hg-1.7.jar:1.7]
> 	at org.codehaus.plexus.util.cli.StreamPumper.consumeLine(StreamPumper.java:197) [plexus-utils-2.0.5.jar:na]
> {code}
> It is due to this command : 
> {code}
> hg blame --user --date --changeset File.txt
> {code}
> It returns : 
> {code}
> firstname lastname <user@mail.com> c55d9b230751 Tue Jun 19 14:20:07 2012 +0200:
> {code}
> Whereas the plugins expects (no space between firstname and lastname) : 
> {code}
> firstnamelastname <user@mail.com> c55d9b230751 Tue Jun 19 14:20:07 2012 +0200:
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message