Mercurial > public > mercurial-scm > hg
diff mercurial/debugcommands.py @ 49253:a321304269cf
debugindex: move to a flexible column
Each column is now declared as a decorated function. This will make it much
simpler to add more new column in the future.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 01 Jun 2022 00:59:44 +0200 |
parents | 61cf3d39fd9e |
children | 223d55086d7c |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Wed Jun 01 01:13:13 2022 +0200 +++ b/mercurial/debugcommands.py Wed Jun 01 00:59:44 2022 +0200 @@ -1877,11 +1877,13 @@ fm = ui.formatter(b'debugindex', opts) + revlog = getattr(store, b'_revlog', store) + return revlog_debug.debug_index( ui, repo, formatter=fm, - revlog=store, + revlog=revlog, full_node=ui.debugflag, )