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

Mercurial - Unparseable date

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Auto Closed
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Labels:
      None

      Description

      Scm Activity Plugin returns a warning for many lines of my 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]
      

      It is due to this command :

      hg blame --user --date --changeset File.txt
      

      It returns :

      firstname lastname <user@mail.com> c55d9b230751 Tue Jun 19 14:20:07 2012 +0200:
      

      Whereas the plugins expects (no space between firstname and lastname) :

      firstnamelastname <user@mail.com> c55d9b230751 Tue Jun 19 14:20:07 2012 +0200:
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              franek franek

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment