[ 
https://issues.apache.org/jira/browse/SCM-578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964757#comment-17964757
 ] 

Olivier Lamy commented on SCM-578:
----------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-scm#781|https://github.com/apache/maven-scm/issues/781]. 

> Goal scm:checkin ignores pushChanges=false for Mercurial
> --------------------------------------------------------
>
>                 Key: SCM-578
>                 URL: https://issues.apache.org/jira/browse/SCM-578
>             Project: Maven SCM (Moved to GitHub Issues)
>          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
>            Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to