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

Blame calculation problem: FileRevision gives different line diff than blame calculator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Answered
    • Low
    • N/A
    • None
    • None

    Description

      For example when calculating blame for https://swarm.workshop.perforce.com/changes/16640, we get the following error:

      2015-12-09 19:51:53,146 DEBUG [IncrPing2 P4-swarm-B ] fisheye BlameChunksCalculator-applyHunks - Applying hunks; oldBlame=[0-1:301325], hunks=[<0:1, 0:1>], hunksRevId=301788
      2015-12-09 19:51:53,148 DEBUG [IncrPing2 P4-swarm-B ] fisheye BlameChunksCalculator-applyHunks - Applying hunks; oldBlame=[0-1:301788], hunks=[<0:1, 0:1>], hunksRevId=301789
      2015-12-09 19:51:53,149 DEBUG [IncrPing2 P4-swarm-B ] fisheye BaseBlameAndLinecountCalculator-calcBlame - Problems calculating blame for guest/perforce_software/sdp/main/Version@16640, will fetch from repository instead
      com.cenqua.fisheye.rep.AuthorBlameException: Possible error adjusting author linecount for guest/perforce_software/sdp/main/Version@16640 301789: Diff adds to 0 instead of -1: {} (P4RevInfo{P4RevInfo=guest/perforce_software/sdp/main/Version@16640, revId=301789, author=tom_tyler, comment=Updated version for packaging., date=Wed Dec 09 19:52:51 CET 2015, copyFrom=null, ancestors=[guest/perforce_software/sdp/dev/Version@16639]})
              at com.cenqua.fisheye.rep.BaseBlameAndLinecountCalculator.calcBlameBasedOnAncestor(BaseBlameAndLinecountCalculator.java:309) [fisheye.jar:?]
              at com.cenqua.fisheye.rep.BaseBlameAndLinecountCalculator.calcBlame(BaseBlameAndLinecountCalculator.java:243) [fisheye.jar:?]

      See full log attached to FECRU-6112.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kcichy Kamil Cichy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: