mercurial/debugcommands.py
changeset 49253 a321304269cf
parent 49250 61cf3d39fd9e
child 49281 223d55086d7c
equal deleted inserted replaced
49252:4141951dacff 49253:a321304269cf
  1875     opts = pycompat.byteskwargs(opts)
  1875     opts = pycompat.byteskwargs(opts)
  1876     store = cmdutil.openstorage(repo, b'debugindex', file_, opts)
  1876     store = cmdutil.openstorage(repo, b'debugindex', file_, opts)
  1877 
  1877 
  1878     fm = ui.formatter(b'debugindex', opts)
  1878     fm = ui.formatter(b'debugindex', opts)
  1879 
  1879 
       
  1880     revlog = getattr(store, b'_revlog', store)
       
  1881 
  1880     return revlog_debug.debug_index(
  1882     return revlog_debug.debug_index(
  1881         ui,
  1883         ui,
  1882         repo,
  1884         repo,
  1883         formatter=fm,
  1885         formatter=fm,
  1884         revlog=store,
  1886         revlog=revlog,
  1885         full_node=ui.debugflag,
  1887         full_node=ui.debugflag,
  1886     )
  1888     )
  1887 
  1889 
  1888 
  1890 
  1889 @command(
  1891 @command(