Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-735

Blame result on branched file is incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 1.8.1
    • None
    • None
    • Patch

    Description

      When a file is branched, its revision id restarts from 1.

      So, 2 different lines can have the same revision id even though they have been submitted in 2 different changelists.

      Since the perforce blame command is based on the revision id of each line, the result might be incorrect.

      The solution I'm proposing in the attached patch is to use changelist number to identify the author of a line.

      Attachments

        1. blame_result_fix.patch
          10 kB
          Igor Polubelov
        2. scm.patch
          8 kB
          Gregory SSI-YAN-KAI

        Activity

          People

            Unassigned Unassigned
            gssiyankai Gregory SSI-YAN-KAI
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: