Homestyx hydra
Diffusion hydra 5f033d580c58

Fix a HunkQuery issue where no hunks load at all

Description

Fix a HunkQuery issue where no hunks load at all

Summary:
If you create a diff with no hunks (e.g., it adds a single empty file), we never attachHunks() so we throw on getHunks().

Instead, make sure changesets get hunks attached if they expect it.

Test Plan: Created a new diff with a single empty file in it.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: zeeg, epriestley

Differential Revision: https://secure.phabricator.com/D8842

Details

Provenance
epriestleyAuthored on Apr 23 2014, 5:22 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:4bbd2d52036c: Make an old migration a little more robust
Branches
Unknown
Tags
Unknown

Event Timeline