- 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:
- That revision of the named file may not exist (as it is actually a rev of the copy source)
- 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
Component/s | New: Indexing [ 41890 ] | |
Component/s | Original: vcs-mercurial [ 13281 ] | |
Labels | Original: hg jac-cleanup-phase1 red | New: hg jac-cleanup-phase1 mercurial red |
Workflow | Original: FE-CRUC Bug Workflow [ 2945306 ] | New: JAC Bug Workflow v3 [ 2957588 ] |
Workflow | Original: FECRU Development Workflow - Triage - Restricted [ 1516560 ] | New: FE-CRUC Bug Workflow [ 2945306 ] |
Fix Version/s | New: N/A [ 54414 ] | |
Resolution | New: Timed out [ 10 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Labels | Original: hg red | New: hg jac-cleanup-phase1 red |
Symptom Severity | New: Minor [ 14432 ] |
Workflow | Original: FECRU Development Workflow - Triage [ 944416 ] | New: FECRU Development Workflow - Triage - Restricted [ 1516560 ] |
Remote Link | New: This issue links to "Page (Extranet)" [ 139189 ] |
Remote Link | New: This issue links to "Page (Extranet)" [ 138002 ] |
Hi everyone,
This issue has been reported several years ago for version older than 3.0.0, which is over 18 major releases behind the latest Fisheye/Crucible version. Additionally, it has not get interest since the time it has been reported. Therefore, we decided to close the issue as Timed Out.
If you still see this bug occurring in the latest release and a fix is very important for you, please don't hesitate to share your feedback in the issue comments. We will continue to watch the issue for further updates.
Cheers
Marek Parfianowicz
Fisheye/Crucible TL