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)
Mon, Jan 27, 3:04 PM
Unknown Object (File)
Mon, Jan 27, 3:00 PM
Unknown Object (File)
Mon, Jan 27, 7:13 AM
Unknown Object (File)
Mon, Jan 27, 7:13 AM
Unknown Object (File)
Mon, Jan 27, 7:13 AM
Unknown Object (File)
Mon, Jan 27, 7:10 AM
Unknown Object (File)
Thu, Jan 23, 1:44 AM
Unknown Object (File)
Mon, Jan 13, 7:52 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
Branch
cnull
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1322
Build 1322: [Placeholder Plan] Wait for 30 Seconds

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).