• If a file is hg rm file and then hg cp other file, the diff just shows a modification (to the same named file), but the meta information in hgfelog.py says it is a copy and the parent rev is the rev id of the parent where it was copied from - so:
        1. That revision of the named file may not exist (as it is actually a rev of the copy source)
        2. If we use the copy source, we don't have the right diffs to properly calculate the LOC.
      • If there was no revision of the copy target in the parent commit, (i.e. a copy over something that was deleted a while ago), the diff will work properly, diffing to the copy source and we can use that as the predecessor/ancestor.

            [FE-3134] HG: Cope with copies over deleted files

            No work has yet been logged on this issue.

              Unassigned Unassigned
              Anonymous Anonymous
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 8h
                  8h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified