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.
Differential D8842
Fix a HunkQuery issue where no hunks load at all epriestley on Apr 22 2014, 10:29 PM. Authored by Tags None Referenced Files
Subscribers
Details
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. Created a new diff with a single empty file in it.
Diff Detail
Event Timeline |