Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-253

AbstractCvsRemoveCommand must ignore "message" argument

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-3
    • 1.0-beta-4
    • maven-scm-provider-cvs
    • None
    • xp, linux

    Description

      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)

      Attachments

        Activity

          People

            danttran Dan Tran
            dantran Dan Tran
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: