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

ASF GitHub Bot commented on SCM-578:
------------------------------------

jira-importer opened a new issue, #781:
URL: https://github.com/apache/maven-scm/issues/781

   **[Andreas 
Sewe](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=sewe)** 
opened 
**[SCM-578](https://issues.apache.org/jira/browse/SCM-578?redirect=false)** and 
commented
   
   Although `mvn -X scm:checkin -Dmessage=Test` confirms that pushChanges has 
been set to false
   
   > \<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
   
   the `maven-scm-plugin` insists on pushing the changes (in addition to simply 
commiting them).
   
   > [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
   
   
   
   ---
   
   **Affects:** 1.4
   
   **Issue Links:**
   - [SCM-475](https://issues.apache.org/jira/browse/SCM-475) hg plugin insists 
on 'pushing'
    (_**"duplicates"**_)
   




> 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