Closed
Bug 1766011
Opened 3 years ago
Closed 3 years ago
Investigate other edge cases where an empty file diff generates hunks
Categories
(Conduit :: moz-phab, task, P3)
Conduit
moz-phab
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zeid, Assigned: grammar)
References
Details
(Keywords: conduit-triaged, good-first-bug)
Attachments
(2 files, 4 obsolete files)
Test cases need to be added for both git and mercurial that cover:
- adding empty files
- deleting empty files
- modifying empty files or their modes
In all above cases, Change.hunks should be an empty list.
| Reporter | ||
Updated•3 years ago
|
Keywords: good-first-bug
Priority: -- → P3
| Reporter | ||
Updated•3 years ago
|
Keywords: conduit-triaged
Updated•3 years ago
|
Assignee: glob → grobertson
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Attachment #9283445 -
Attachment is obsolete: true
| Assignee | ||
Comment 3•3 years ago
|
||
Depends on D150508
Comment 4•3 years ago
|
||
Hey there! I stumbled upon a weird case too. :Kwan helped me a lot diagnosing it. I uploaded a pretty big patch with moz-phab. This patch contains a files moved around. Some of them are empty files. Per Kwan, moz-phab submitted a corrupted diff which prevents lando from landing it. More precisely, we get these errors from phab[1]. I left more info on the Phab revision itself[2].
I'm happy to provide more context if needed!
[1] https://phabricator.services.mozilla.com/D150362?download=true
[2] https://phabricator.services.mozilla.com/D150362#4925914
Updated•3 years ago
|
Attachment #9283454 -
Attachment is obsolete: true
Updated•3 years ago
|
Attachment #9283288 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•3 years ago
|
||
| Assignee | ||
Comment 6•3 years ago
|
||
Updated•3 years ago
|
Attachment #9283693 -
Attachment is obsolete: true
Updated•3 years ago
|
Attachment #9283669 -
Attachment description: WIP: tests: update git + hg int tests to check empty file ops (Bug 1766011) r?sheehan → tests: update git + hg int tests to check empty file ops (Bug 1766011) r?sheehan
| Assignee | ||
Comment 7•3 years ago
|
||
| Assignee | ||
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•