Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-6304

CVS checkout command does not quote "-D" argument value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Medium
    • None
    • 2.6.1
    • Repository (CVS)

    Description

      Code that is under CVS control was not being updated to the latest version when I ran a clean Bamboo build. After digging around in the logs I noticed this was the checkout command being run:

      cvs checkout -P -N -kb -D 2010-07-19 10:11:33 -0700 [path to code]

      However, because the value of the "-D" argument was not quoted, the time and offset were not used when checking out the code. A "cvs status" call returns this:

      ===================================================================
      File: TestPath.py Status: Up-to-date

      Working revision: 1.82 2010-07-19 14:11:38 -0700
      Repository revision: 1.82 /rel/cvsroot/mod/python/studio/utils/path/unittest/TestPath.py,v
      Commit Identifier: V8Uplzy0awQYnUxu
      Sticky Tag: (none)
      Sticky Date: 2010.07.19.07.00.00
      Sticky Options: -kb

      Notice the correct date, but incorrect time. When I ran that checkout command manually I see these warnings:

      cvs checkout: cannot find module `10:11:33' - ignored
      cvs checkout: cannot find module `-0700' - ignored

      When I quote the timestamp I get the correct code version. I'm currently working around this issue by running Bamboo with the "-DCVS_FORCE_CHECKOUT_TO_LATEST=true" option which doesn't use the "-D" flag on checkout.

      Attachments

        Activity

          People

            Unassigned Unassigned
            f1c2dab0d48f Brent Villalobos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: