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