Page MenuHomePhabricator

Make "CommitData" wrap and persist a "CommitRef" record
ClosedPublic

Authored by epriestley on Aug 12 2020, 8:02 PM.

Details

Summary

Ref T13552. Turn "CommitData" into an application-level layer on top of the repository-level "CommitRef" object.

For older commits which will not have a "CommitRef" record on disk, build a synthetic one at runtime. This could eventually be migrated.

Test Plan

Ran "bin/repository reparse --message", browsed Diffusion.

Diff Detail

Repository
rP Phabricator
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Wed, Sep 16, 12:37 AM
This revision was automatically updated to reflect the committed changes.