Page MenuHomePhabricator

debugcommands: drop offset and length from debugindex by default

Authored by indygreg on Apr 2 2018, 11:53 PM.



These fields are an implementation detail of revlog storage. As
such, they are not part of the generic storage "index" interface
and shouldn't be displayed by default.

Because we don't have another way to display these fields, we've
retained support for printing these fields via --verbose.

Yes, I know we should probably be doing all this formatting using
modern formatting/templater APIs. I didn't feel like scope
bloating this patch.

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

indygreg created this revision.Apr 2 2018, 11:53 PM
durin42 accepted this revision.Apr 3 2018, 11:21 AM
This revision is now accepted and ready to land.Apr 3 2018, 11:21 AM
This revision was automatically updated to reflect the committed changes.