Page MenuHomePhabricator

Recover from `null` authors in commit parsing
ClosedPublic

Authored by epriestley on Jun 23 2014, 2:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 7:47 PM
Unknown Object (File)
Fri, May 3, 5:31 AM
Unknown Object (File)
Mon, Apr 29, 4:20 PM
Unknown Object (File)
Wed, Apr 24, 10:31 PM
Unknown Object (File)
Tue, Apr 23, 12:09 PM
Unknown Object (File)
Feb 17 2024, 2:44 AM
Unknown Object (File)
Feb 15 2024, 2:42 PM
Unknown Object (File)
Feb 15 2024, 2:42 PM
Subscribers

Details

Summary

Fixes T5445. Some import tools and other unusual situations can leave repositories with commits that don't have authors. This fails on insert.

Instead, explicitly cast the value to a string.

Test Plan

I didn't build a local repro, but see task/GitHub.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Recover from `null` authors in commit parsing.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, btrahan.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 23 2014, 2:23 PM
epriestley updated this revision to Diff 23234.

Closed by commit rP40fa4799a32d (authored by @epriestley).