diff mercurial/debugcommands.py @ 49264:db19f6be0442

debugindex: rename to debugindex debug-revlog-index The command dump some content of the revlog index and omit a lot of information. I am going to make it display the missing information. For clarity, we rename the command to explicitly mention revlog.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 30 May 2022 11:30:48 +0200
parents 63fd0282ad40
children 61cf3d39fd9e
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Mon May 30 16:18:12 2022 +0200
+++ b/mercurial/debugcommands.py	Mon May 30 11:30:48 2022 +0200
@@ -1865,12 +1865,12 @@
 
 
 @command(
-    b'debugindex',
+    b'debug-revlog-index|debugindex',
     cmdutil.debugrevlogopts + cmdutil.formatteropts,
     _(b'-c|-m|FILE'),
 )
 def debugindex(ui, repo, file_=None, **opts):
-    """dump index data for a storage primitive"""
+    """dump index data for a revlog"""
     opts = pycompat.byteskwargs(opts)
     store = cmdutil.openstorage(repo, b'debugindex', file_, opts)