HomePhabricator

Recover from `null` authors in commit parsing

Description

Recover from null authors in commit parsing

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.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5445

Differential Revision: https://secure.phabricator.com/D9684

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Jun 23 2014, 2:23 PM
Reviewer
chad
Differential Revision
D9684: Recover from `null` authors in commit parsing
Parents
rP19ff097d783c: Fix project archive dialog text
Branches
Unknown
Tags
Unknown
Tasks
T5445: Importing svn repository error

Event Timeline