• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • cvs-plugin
    • None
    • Platform: All, OS: Windows XP

      Unable to run a build because of a cvs error. The task managed to check out all
      the files and update files, but is unable to compute the change log it seems.

      $ computing changelog
      ERROR: cvs exited with error code 1
      Command line was [Executing 'cvs' with arguments:
      '-d:pserver:XXXX'
      'log'
      '-d'
      '>=2008-02-27'

      The CVS server version is:
      Concurrent Versions System (CVS) 1.11.1p1 (client/server)

      Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn,
      Jeff Polk, and other authors

          [JENKINS-1346] error executing cvs with arguments

          Do you get more output, or is that the only output from Hudson?

          1.11 is ancient version of CVS. Any chance you can upgrade that and see if that
          fixes the problem? When you run CVS from command-line with the -d >=2008-02-27
          option, does the server rejects it?

          Kohsuke Kawaguchi added a comment - Do you get more output, or is that the only output from Hudson? 1.11 is ancient version of CVS. Any chance you can upgrade that and see if that fixes the problem? When you run CVS from command-line with the -d >=2008-02-27 option, does the server rejects it?

          joyce_ho added a comment -

          There was more output in Hudson, but none of it seemed to pertain to the error.

          There's almost 0 chance of upgrading cvs because we will actually be moving to
          Accurev, I was just hoping to prototype it to demo the possible uses of the system.

          When you run CVS from the command line with that option, the server rejects it
          and says it requires an additional argument:

          cvs: option requires an argument – d
          Usage: cvs [cvs-options] command [command-options-and-arguments]
          where cvs-options are -q, -n, etc.
          (specify --help-options for a list of options)
          where command is add, admin, etc.
          (specify --help-commands for a list of commands
          or --help-synonyms for a list of command synonyms)
          where command-options-and-arguments depend on the specific command
          (specify -H followed by a command name for command-specific help)
          Specify --help to receive this message

          joyce_ho added a comment - There was more output in Hudson, but none of it seemed to pertain to the error. There's almost 0 chance of upgrading cvs because we will actually be moving to Accurev, I was just hoping to prototype it to demo the possible uses of the system. When you run CVS from the command line with that option, the server rejects it and says it requires an additional argument: cvs: option requires an argument – d Usage: cvs [cvs-options] command [command-options-and-arguments] where cvs-options are -q, -n, etc. (specify --help-options for a list of options) where command is add, admin, etc. (specify --help-commands for a list of commands or --help-synonyms for a list of command synonyms) where command-options-and-arguments depend on the specific command (specify -H followed by a command name for command-specific help) Specify --help to receive this message

          OK, so I guess your version of CVS really doesn't support the -d sub-option in
          the log command. Unfortunately without it, Hudson really won't be able to
          compute the changelog.

          I added a switch in 1.200 so that you can disable changelog computation. Add
          -Dhudson.scm.CVSSCM.skipChangeLog=true to your JVM to activate this feature.

          Kohsuke Kawaguchi added a comment - OK, so I guess your version of CVS really doesn't support the -d sub-option in the log command. Unfortunately without it, Hudson really won't be able to compute the changelog. I added a switch in 1.200 so that you can disable changelog computation. Add -Dhudson.scm.CVSSCM.skipChangeLog=true to your JVM to activate this feature.

          Code changed in hudson
          User: null
          Path:
          /hudson/hudson/main/core/src/main/java/hudson/scm/CVSSCM.java (1.86)
          http://fisheye5.cenqua.com/changelog/hudson/?cs=null:kohsuke:20080321010105

          Log:
          Adding ability to avoid computing changelog for JENKINS-1346

          SCM/JIRA link daemon added a comment - Code changed in hudson User: null Path: /hudson/hudson/main/core/src/main/java/hudson/scm/CVSSCM.java (1.86) http://fisheye5.cenqua.com/changelog/hudson/?cs=null:kohsuke:20080321010105 Log: Adding ability to avoid computing changelog for JENKINS-1346

          Code changed in hudson
          User: null
          Path:
          /hudson/www/changelog.html (1.1284)
          http://fisheye5.cenqua.com/changelog/hudson/?cs=null:kohsuke:20080321010303

          Log:
          Adding ability to avoid computing changelog for JENKINS-1346

          SCM/JIRA link daemon added a comment - Code changed in hudson User: null Path: /hudson/www/changelog.html (1.1284) http://fisheye5.cenqua.com/changelog/hudson/?cs=null:kohsuke:20080321010303 Log: Adding ability to avoid computing changelog for JENKINS-1346

            Unassigned Unassigned
            joyce_ho joyce_ho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: