Page MenuHomePhabricator

Recover from `null` authors in commit parsing
ClosedPublic

Authored by epriestley on Jun 23 2014, 2:22 PM.
Tags
None
Referenced Files
F14053484: D9684.diff
Fri, Nov 15, 4:35 PM
F14032666: D9684.diff
Sat, Nov 9, 3:12 PM
F14017944: D9684.diff
Tue, Nov 5, 1:24 AM
F14006442: D9684.diff
Mon, Oct 28, 9:52 AM
F13961041: D9684.diff
Oct 15 2024, 2:48 AM
Unknown Object (File)
Sep 29 2024, 2:56 AM
Unknown Object (File)
Sep 26 2024, 6:24 PM
Unknown Object (File)
Sep 20 2024, 6:27 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).