Page MenuHomePhabricator

Force 'changes' to a string in hunk migration
ClosedPublic

Authored by epriestley on Jan 10 2017, 7:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 12, 10:26 AM
Unknown Object (File)
Sun, Jan 12, 7:26 AM
Unknown Object (File)
Mon, Jan 6, 5:20 PM
Unknown Object (File)
Fri, Jan 3, 9:40 AM
Unknown Object (File)
Wed, Dec 25, 3:37 PM
Unknown Object (File)
Thu, Dec 19, 4:41 PM
Unknown Object (File)
Dec 13 2024, 10:50 AM
Unknown Object (File)
Dec 13 2024, 3:19 AM
Subscribers
None

Details

Summary

Fixes T12090. In obscure situations lost to the mists of time, the changes column could be null. Force a string cast so the migration finishes, even though these changesets are likely meaningless.

Test Plan

I did a force-reapply as a sanity check:

$ ./bin/storage upgrade -f --apply phabricator:20161213.diff.01.hunks.php 

That went cleanly; it would only have caught dramatic errors, but I didn't completely butcher things.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable