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

   **[Laurent 
Perez](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=laurent7979)**
 commented
   
   Reopening it for "cosmetic" fix : when you had no hg outgoing changes, the 
output would print an error because an exit code value of 1 for 'hg outgoing' 
was considered as a failure. (1)
   
   The build would not fail at all, but printing an error is a false positive, 
exit code of 1 is expected when there are no outgoing changes.
   
   Will provide a 2nd patch.
   
   (1)
   
   ```
   [INFO] EXECUTING: /bin/sh -c cd /Users/laurent/Desktop/work/rrepo/hgartifact 
&& hg outgoing
   *** line = comparaison avec http://macbook-pro-de-laurent.local:8000
   *** line = searching for changes
   *** line = aucun changement trouvé
   *** exitCode = 1
   [ERROR] 
   EXECUTION FAILED
     Execution of cmd : outgoing failed with exit code: 1.
     Working directory was: 
       /Users/laurent/Desktop/work/rrepo/hgartifact
     Your Hg installation seems to be valid and complete.
       Hg version: 1.6.4+20101001 (OK)
   [INFO] BUILD SUCCESSFUL
   ```
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to