Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-5645

Error parsing CVS log: wrong slash when using CVSNT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Low
    • None
    • 3.0.3
    • None
    • None

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? 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,

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: