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

Olivier Lamy commented on SCM-439:
----------------------------------

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

> Maven SCM Mercurial provider remove functionnality doesn't work
> ---------------------------------------------------------------
>
>                 Key: SCM-439
>                 URL: https://issues.apache.org/jira/browse/SCM-439
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Windows
>            Reporter: William Bernardet
>            Assignee: Olivier Lamy
>            Priority: Major
>             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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to