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, Dec 16, 8:58 AM
Unknown Object (File)
Thu, Dec 12, 11:07 AM
Unknown Object (File)
Fri, Dec 6, 11:04 PM
Unknown Object (File)
Tue, Dec 3, 5:35 AM
Unknown Object (File)
Wed, Nov 27, 3:40 AM
Unknown Object (File)
Sat, Nov 23, 12:21 AM
Unknown Object (File)
Nov 19 2024, 1:40 PM
Unknown Object (File)
Nov 15 2024, 4:35 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).