History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SCM-253
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dan Tran
Reporter: Dan Tran
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven SCM

AbstractCvsRemoveCommand must ignore "message" argument

Created: 21/Nov/06 03:54 PM   Updated: 22/Nov/06 10:33 AM
Component/s: maven-scm-provider-cvs
Affects Version/s: 1.0-beta-3
Fix Version/s: 1.0-beta-4

Time Tracking:
Not Specified

Environment: xp, linux

Complexity: Intermediate


 Description  « Hide
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)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dan Tran - 22/Nov/06 10:33 AM
fixed in revision 478213