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

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

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

   **[Dan 
Tran](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dantran)** 
opened 
**[SCM-253](https://issues.apache.org/jira/browse/SCM-253?redirect=false)** and 
commented
   
   I am writing a test suites which use maven-scm-api to read/write to multiple 
scm types ( cvs, svn, and starteam)
   
   Remove command fails since it generates -m option which is illegal in CVS.  
We should completely ignore the
   message argument for CVS provider
   
   Here is the message
   
   [INFO] Working directory: 
/opt/proj/dtran/dev//integration/replay/replay-cvstest/target/replay-test/working-copy
   [INFO] Executing: cvs -z3 -f -d 
/opt/proj/dtran/dev//integration/replay/replay-cvstest/target/replay-test/repository
 -q remove -f -l -m '"remove Foo.java"' src/main/java/Foo.java
   
   Provider message
   
   ---
   
   The cvs command failed.
   
   ---
   
   ---
   
   Command output
   
   ---
   
   remove: invalid option 

> AbstractCvsRemoveCommand must ignore "message" argument
> -------------------------------------------------------
>
>                 Key: SCM-253
>                 URL: https://issues.apache.org/jira/browse/SCM-253
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-cvs
>    Affects Versions: 1.0-beta-3
>         Environment: xp, linux
>            Reporter: Dan Tran
>            Assignee: Dan Tran
>            Priority: Major
>             Fix For: 1.0-beta-4
>
>
> I am writing a test suites which use maven-scm-api to read/write to multiple 
> scm types ( cvs, svn, and starteam)
> Remove command fails since it generates -m option which is illegal in CVS.  
> We should completely ignore the 
> message argument for CVS provider
> Here is the message
> [INFO] Working directory: 
> /opt/proj/dtran/dev//integration/replay/replay-cvstest/target/replay-test/working-copy
> [INFO] Executing: cvs -z3 -f -d 
> /opt/proj/dtran/dev//integration/replay/replay-cvstest/target/replay-test/repository
>  -q remove -f -l -m '"remove Foo.java"' src/main/java/Foo.java
> Provider message
> ----------------------------------------------------------------------
> The cvs command failed.
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> Command output
> ----------------------------------------------------------------------
> remove: invalid option -- m
> Usage: cvs remove [-flR] [files...]
>         -f      Delete the file before removing it.
>         -l      Process this directory only (not recursive).
>         -R      Process directories recursively.
> (Specify the --help global option for a list of other help options)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to