clearcase indexing doesnt clear its changes cache in the right spot

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 2.4.4
    • Affects Version/s: None
    • Component/s: None
    • None

      its clearing its changes cache after doing work. so if it fails half way through, the next time around, it has crap in it.

      there is an implied assumption in the code that the cache will be empty when it starts. in git and hg, we dont have this assumption - we clear it at the start rather than the end.

      i think the proper fix here is that we shouldnt be using the same object across multiple changes / branches / etc. we should create a new one each time, so we dont have to rely on clearing it at all.

      specificaly, this is at ClearCaseRepositoryScanner.processBranch, and the clearing call is changeParser.resetChangeSets(). this call should at least be the first line in the method.

            Assignee:
            Geoff Crain (Inactive)
            Reporter:
            Geoff Crain (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: