Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-3355

ClearCase: indexing stops when a branch is defined but never used in a VOB.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.4.4, 2.5.0
    • 2.4.2, 2.4.3
    • None

    Description

      There is a bug in the FishEye indexing code for ClearCase repositories for branches that have been defined in a VOB, but have never been used. In the case of a customer (FSH-4960), there is a branch 'branchA' which has been defined in vob \vobB, but there no versions exist on the branch.

      In detail:

      • FishEye executes cleartool lstype -fmt %n\n -kind brtype -invob vob:\vobB to get list of branches for the VOB.
      • One of the branches that is defined in the \vobB vob is branchA.
      • FishEye retrieves the history for branch branchA by executing cleartool lshistory -fmt %Nd###%o###%u###'%c'###%Xn\n-nco -all -since 10-January-2007.10:08:12 -branch branchA \vobB. Cleartool returns 'Error: Branch type not found: "branchA".
      • FishEye correctly intercepts the error and ignores the error and returns that there is no information for that branch in the VOB.
      • FishEye incorrectly concludes that the VOB path was wrong and tries again with the leading slash.
      • Cleartool returns an error which isn't caught and indexing stops.

      The fix is to not retry with a leading slash. The problem could not be reproduced using a Linux installation where the vobs are mounted on \. It's likely (but not verified) that this problem only occurs on Windows using snapshot views.

      A workaround is to explicitly exclude the branch(es) that are causing the problems in the FishEye repository configuration.

      Attachments

        Activity

          People

            mheemskerk Michael Heemskerk (Inactive)
            mheemskerk Michael Heemskerk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 10m
                10m