Closed
Bug 1779081
Opened 2 years ago
Closed 2 years ago
mercurial generates hunks on empty file mode changes
Categories
(Conduit :: moz-phab, defect)
Conduit
moz-phab
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: grammar, Assigned: grammar)
Details
Attachments
(1 file)
while setting up integration tests for Bug 1766011 - Investigate other edge cases where an empty file diff generates hunks - discovered that when changing a file's mode moz-phab will generate hunks when using mercurial but not git
Assignee | ||
Comment 1•2 years ago
|
||
i believe the culprit is this line as it doesn't have the same condition to check for a file_size
of 0 as the other _change_{}
methods do
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → grobertson
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•