Page MenuHomePhabricator

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

Authored by epriestley on Aug 12 2020, 8:02 PM.
Tags
None
Referenced Files
F15412250: D21449.diff
Wed, Mar 19, 12:00 PM
F15408408: D21449.diff
Tue, Mar 18, 10:51 PM
F15401164: D21449.id.diff
Mon, Mar 17, 4:05 PM
F15398626: D21449.id51085.diff
Mon, Mar 17, 12:58 AM
F15387658: D21449.id.diff
Sat, Mar 15, 2:45 AM
F15385214: D21449.id51085.diff
Fri, Mar 14, 9:59 PM
F15353470: D21449.diff
Mon, Mar 10, 10:10 PM
F15332582: D21449.diff
Fri, Mar 7, 6:17 PM
Subscribers
None

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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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