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
F19044323: D21449.id51085.diff
Thu, Nov 27, 2:10 AM
F19014444: D21449.id.diff
Sat, Nov 22, 7:59 PM
F19004260: D21449.diff
Fri, Nov 21, 11:05 AM
F18993562: D21449.id51048.diff
Wed, Nov 19, 8:11 AM
F18837347: D21449.diff
Oct 27 2025, 4:58 AM
F18810117: D21449.id.diff
Oct 19 2025, 7:35 PM
F18770271: D21449.id.diff
Oct 8 2025, 11:40 AM
F18734351: D21449.id.diff
Sep 30 2025, 10:52 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.