HomePhabricator

revlog: introduce a `display_id` property

Authored by marmoute.

Description

revlog: introduce a display_id property

We currently using the "index file" to identify a revlog in error output. Since
we are about to make the "index file" location more volatile, we need something
better. We move to use the "radix", as it is close to what we currently use.

We could probably do better, as pointed out in the comment, however that would
be a quite detour from my current goal.

Differential Revision: https://phab.mercurial-scm.org/D10579

Details

Committed
marmouteMay 3 2021, 6:23 AM
Differential Revision
D10579: revlog: introduce a `display_id` property
Parents
rHG09338a2d5c14: revlog: also use radix when computing nodemap data file
Branches
Unknown
Tags
Unknown