You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "William Bernardet (JIRA)" <ji...@codehaus.org> on 2009/02/09 19:00:19 UTC

[jira] Created: (MPSCM-99) Maven SCM Mercurial provider remove functionnality doesn't work

Maven SCM Mercurial provider remove functionnality doesn't work
---------------------------------------------------------------

                 Key: MPSCM-99
                 URL: http://jira.codehaus.org/browse/MPSCM-99
             Project: Maven 1.x SCM Plugin
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: Windows
            Reporter: William Bernardet


The generation of the Hg command line doesn't append the files from the provided fileset, current code just call the expandCommandLine method without using the result array:

String[] command = new String[] { HgCommandConstants.REMOVE_CMD };
HgUtils.expandCommandLine( command, fileSet );

The code should be:
String[] command = new String[] { HgCommandConstants.REMOVE_CMD };
command  = HgUtils.expandCommandLine( command, fileSet );

This is affecting 1.1:
https://svn.apache.org/repos/asf/maven/scm/tags/maven-scm-1.1/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/remove/HgRemoveCommand.java
and trunk:
https://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/remove/HgRemoveCommand.java


Br,
 - William

-- 
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

        

[jira] Closed: (SCM-439) Maven SCM Mercurial provider remove functionnality doesn't work

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed SCM-439.
----------------------------

       Resolution: Fixed
    Fix Version/s: 1.3
         Assignee: Olivier Lamy

fix in [rev 885134|http://svn.apache.org/viewvc?rev=885134&view=rev]
snapshot deployed.
Thanks !

> Maven SCM Mercurial provider remove functionnality doesn't work
> ---------------------------------------------------------------
>
>                 Key: SCM-439
>                 URL: http://jira.codehaus.org/browse/SCM-439
>             Project: Maven SCM
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Windows
>            Reporter: William Bernardet
>            Assignee: Olivier Lamy
>             Fix For: 1.3
>
>
> The generation of the Hg command line doesn't append the files from the provided fileset, current code just call the expandCommandLine method without using the result array:
> String[] command = new String[] { HgCommandConstants.REMOVE_CMD };
> HgUtils.expandCommandLine( command, fileSet );
> The code should be:
> String[] command = new String[] { HgCommandConstants.REMOVE_CMD };
> command  = HgUtils.expandCommandLine( command, fileSet );
> This is affecting 1.1:
> https://svn.apache.org/repos/asf/maven/scm/tags/maven-scm-1.1/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/remove/HgRemoveCommand.java
> and trunk:
> https://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/remove/HgRemoveCommand.java
> Br,
>  - William

-- 
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

        

[jira] Moved: (SCM-439) Maven SCM Mercurial provider remove functionnality doesn't work

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg moved MPSCM-99 to SCM-439:
------------------------------------------

    Affects Version/s:     (was: 1.1)
                       1.1
           Complexity: Intermediate
             Workflow: Maven New  (was: jira)
                  Key: SCM-439  (was: MPSCM-99)
              Project: Maven SCM  (was: Maven 1.x SCM Plugin)

> Maven SCM Mercurial provider remove functionnality doesn't work
> ---------------------------------------------------------------
>
>                 Key: SCM-439
>                 URL: http://jira.codehaus.org/browse/SCM-439
>             Project: Maven SCM
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Windows
>            Reporter: William Bernardet
>
> The generation of the Hg command line doesn't append the files from the provided fileset, current code just call the expandCommandLine method without using the result array:
> String[] command = new String[] { HgCommandConstants.REMOVE_CMD };
> HgUtils.expandCommandLine( command, fileSet );
> The code should be:
> String[] command = new String[] { HgCommandConstants.REMOVE_CMD };
> command  = HgUtils.expandCommandLine( command, fileSet );
> This is affecting 1.1:
> https://svn.apache.org/repos/asf/maven/scm/tags/maven-scm-1.1/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/remove/HgRemoveCommand.java
> and trunk:
> https://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/remove/HgRemoveCommand.java
> Br,
>  - William

-- 
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