Page MenuHomePhabricator

Wrap all direct access to author/committer properties on "CommitData"
ClosedPublic

Authored by epriestley on Aug 12 2020, 7:42 PM.
Tags
None
Referenced Files
F15446490: D21448.id51047.diff
Thu, Mar 27, 7:16 PM
F15442920: D21448.id51084.diff
Thu, Mar 27, 1:16 AM
F15441741: D21448.id.diff
Wed, Mar 26, 7:41 PM
F15431663: D21448.diff
Mon, Mar 24, 1:50 PM
F15399319: D21448.id51084.diff
Mon, Mar 17, 3:55 AM
F15335075: D21448.diff
Sat, Mar 8, 2:04 PM
F15332943: D21448.id51047.diff
Fri, Mar 7, 10:30 PM
F15331990: D21448.id.diff
Fri, Mar 7, 3:50 PM
Subscribers
None

Details

Summary

Ref T13552. Currently, various callers read raw properties off "CommitData" directly. Wrap these in accessors to support storage changes which persist "CommitRef" information instead.

Test Plan
  • Ran "diffusion.querycommits", saw the same data before and after.
  • Looked at a commit, saw authorship information and date.
  • Viewed tags in a repository, saw author information.
  • Ran "rebuild-identities", saw no net effect.
  • Grepped for callers to "getCommitDetail(...)".

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:36 AM
This revision was automatically updated to reflect the committed changes.