CVS Checkout/Update does not work with options "-r" and "-D" for Tags

XMLWordPrintable

    • Severity 3 - Minor

      This is an incompatibility found in CVS. Since Bamboo runs checkouts using the "-D" option, the problem will always happen for CVS tags.

      Example that fails (using a Tag):

      checkout -P -N -kb -r TAG-001 -D '2010-07-28 08:34:20 +0200' build
      

      Example that works (using a Branch):

      checkout -P -N -kb -r BNCH-001 -D '2010-07-28 08:34:20 +0200' build
      

      The workaround is to use option -DCVS_FORCE_CHECKOUT_TO_LATEST=true in the JAVA_OPTS.

      A fix for Bamboo would be to:

      1. Always force the checkout to happen in the latest version (without "-D")

      OR

      2. Detect if the Plan owner used a Branch or Tag. If a Tag, request for confirmation that a force latest checkout can be done (explain potential performance issues).

            Assignee:
            Unassigned
            Reporter:
            Renan Battaglin (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: