Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-5645

Error parsing CVS log: wrong slash when using CVSNT

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Low Low
    • Issue - View
    • None

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      A user reports:

      When attempting to add a CVS module, I get the following error:

      Error parsing cvs log: RCS filename 'c:\cvs\welfare\ant/.classpath,v' does not start with the provided root 'c:\cvs\welfare/ant'

      Note the slashes separating "c:\cvs\welfare" (our CVS repository path) and "ant" (the module name). The CVS log contains back slashes () while the "provided root" contains a forward slash (/).

      I confirmed that the log file contains back slashes. A command line cvs log command reports backslashes.

      The slash in the "provided root" is (I believe) put there by Jira. When entering the details in the "Add CVS module" screen, the "CVS Root" and "Module Name" are entered separately.

      Is there a parameter somewhere which tells Jira that we are using CVS/CVSNT on Windows (ie use back slashes) rather than CVS on Unix/Linux (ie use forward slashes). Jira has to match what CVS reports, so Jira needs to know how CVS is reporting the file names. An alternative would be to use slash-independent string comparison,

            Unassigned Unassigned
            7ee5c68a815f Jeff Turner
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: