jira-importer commented on issue #890:
URL: https://github.com/apache/maven-scm/issues/890#issuecomment-2964631458

   
**[franek](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=franek)**
 commented
   
   The problem is resolved for Scm Activity Plugin (I have updated Jenkins and 
Sonar to the last version).
   
   But I have got the same problem with ScmStatsPlugin.
   
   ```
    
   EXECUTING: /bin/sh -c cd /var/lib/jenkins/jobs/<my 
project>/workspace/sources && hg log --verbose --no-merges --date '1970-01-02 
to 2013-04-17'
   09:26:27.996 WARN  .p.s.SonarScmManager - skip ParseException: Unparseable 
date: "Tue Apr 16 17:00:30 2013 +0200" during parsing date Tue Apr 16 17:00:30 
2013 +0200 with pattern yyyy-MM-dd HH:mm:ss Z with Locale en
   java.text.ParseException: Unparseable date: "Tue Apr 16 17:00:30 2013 +0200"
   ```
   
   Perhaps, a solution could to run hg log with a template 
(http://hgbook.red-bean.com/read/customizing-the-output-of-mercurial.html#sec:template:filter)
 :
   
   ```
    
   $ hg log -r1 --template 'date: {date|isodate}\n'
   date: 2012-02-10 16:12 +0100
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to