Homec4science

Record initial branch when recording commits

Authored by epriestley <git@epriestley.com> on Jun 28 2012, 23:00.

Description

Record initial branch when recording commits

Summary:
We have a race condition right now, where we may insert a commit without seenOnBranches. This means shouldAutocloseCommit will return false (since it's not on any autoclose branches) if the message parser runs fast enough, causing it to associate the commit but not close the revision. This happened for D2851.

Also prompt the user to repair broken repositories.

Test Plan: Ran discovery / repair. Ran discovery on new commits. Verified 'seenOnBranches' value. Deleted some data, verified "repair" error. Repaired repository.

Reviewers: jungejason, nh, vrana, btrahan

Reviewed By: btrahan

CC: aran

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

Details

Committed
epriestley <git@epriestley.com>Jun 28 2012, 23:00
Pushed
aubortJan 31 2017, 17:16
Parents
rPH1e3cd8afa839: Improve notification list view
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH46008ce3b379: Record initial branch when recording commits (authored by epriestley <git@epriestley.com>).Jun 28 2012, 23:00