Gregory SSI-YAN-KAI created SCM-735:
---------------------------------------

             Summary: Blame result on branched file is incorrect
                 Key: SCM-735
                 URL: https://jira.codehaus.org/browse/SCM-735
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-perforce
    Affects Versions: 1.8.1
            Reporter: Gregory SSI-YAN-KAI
         Attachments: scm.patch

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.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to