maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Sewe (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (SCM-578) Goal scm:checkin ignores pushChanges=false for Mercurial
Date Sat, 25 Sep 2010 20:18:32 GMT
Goal scm:checkin ignores pushChanges=false for Mercurial
--------------------------------------------------------

                 Key: SCM-578
                 URL: http://jira.codehaus.org/browse/SCM-578
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-plugin
    Affects Versions: 1.4
         Environment: Apache Maven 3.0-beta-3 (r990787; 2010-08-30 14:44:03+0200)
Java version: 1.6.0_20
Mercurial Distributed SCM (version 1.6.3)

            Reporter: Andreas Sewe


Although {{mvn -X scm:checkin -Dmessage=Test}} confirms that pushChanges has been set to false

{quote}
<configuration>
  ...
  <pushChanges default-value="true">false</pushChanges>
  ...
</configuration>
...
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-scm-plugin:1.4:checkin' with basic
configurator -->
[DEBUG]   (f) basedir = /home/sewe/test-project
[DEBUG]   (f) connectionType = developerConnection
[DEBUG]   (f) developerConnectionUrl = scm:hg:file:///tmp/test-project
[DEBUG]   (f) message = Test
[DEBUG]   (f) pushChanges = false
[DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@77485542
{quote}

the {{maven-scm-plugin}} insists on pushing the changes (in addition to simply commiting them).

{quote}
[INFO] EXECUTING: /bin/sh -c cd /home/sewe/test-project && hg status
[DEBUG] M pom.xml
[INFO] [pom.xml:modified]
[INFO] EXECUTING: /bin/sh -c cd /home/sewe/test-project && hg commit --message 'Test'
[INFO] EXECUTING: /bin/sh -c cd /home/sewe/test-project && hg push file:///tmp/test-project
{quote}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message