( )⚙ D4832 debugcommands: add a debugindexstats command

This is an archive of the discontinued Mercurial Phabricator instance.

debugcommands: add a debugindexstats command
ClosedPublic

Authored by martinvonz on Oct 2 2018, 1:50 AM.

Details

Summary

Someone went through the trouble of recording these stats, so let's
make them accessible.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Oct 2 2018, 1:50 AM
pulkit added a subscriber: pulkit.Oct 2 2018, 1:19 PM

Can we please add a simple test for the new command?

martinvonz updated this revision to Diff 11576.Oct 2 2018, 4:46 PM
In D4832#73119, @pulkit wrote:

Can we please add a simple test for the new command?

Good point. It was trivial to add and it really helps explain what the command does, so I should just done it.

martinvonz planned changes to this revision.Oct 2 2018, 4:49 PM

Actually, that also shows that we can easily make it easier to read. I'll put each item on a separate line.

martinvonz updated this revision to Diff 11577.Oct 2 2018, 4:56 PM
This revision was automatically updated to reflect the committed changes.