[
https://issues.apache.org/jira/browse/SCM-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961529#comment-17961529
]
ASF GitHub Bot commented on SCM-439:
------------------------------------
jira-importer commented on issue #658:
URL: https://github.com/apache/maven-scm/issues/658#issuecomment-2964611619
**[Olivier
Lamy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=olamy)**
commented
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: 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)