Page MenuHomePhabricator

revlog: avoid hard-coded hash sizes

Authored by joerg.sonnenberger on Mon, Jul 6, 8:43 AM.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit accepted this revision.Tue, Jul 7, 2:15 PM
pulkit added a subscriber: pulkit.

There are couple of other mentions of 40 in this file, looks like in future we should introduce a constant for this.

Queued, thanks!

This revision is now accepted and ready to land.Tue, Jul 7, 2:15 PM
This revision was automatically updated to reflect the committed changes.