This is an archive of the discontinued Mercurial Phabricator instance.

sidedatacopies: get and store sidedata in the changelogrevision object
ClosedPublic

Authored by marmoute on Oct 3 2019, 1:54 AM.

Details

Summary

The object provide a simple way to access changelog entry, we need it to also
bear the sidedata value.

Since the sidedata are retrieved at the same time as the revision, we can do
that without extra cost.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

marmoute created this revision.Oct 3 2019, 1:54 AM
marmoute updated this revision to Diff 16952.Oct 7 2019, 8:37 PM
martinvonz added inline comments.
mercurial/changelog.py
618–624

nit: inconsistent way of calling the changelogrevision constructor between these two call sites

marmoute added inline comments.Oct 9 2019, 1:24 PM
mercurial/changelog.py
618–624

Is a followup good enough for you ?

martinvonz added inline comments.Oct 9 2019, 1:27 PM
mercurial/changelog.py
618–624

Yes, even leaving it inconsistent is good enough for me :) I don't care that much

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.