equal
deleted
inserted
replaced
1863 else: |
1863 else: |
1864 ui.write(_(b"%s is not ignored\n") % uipathfn(f)) |
1864 ui.write(_(b"%s is not ignored\n") % uipathfn(f)) |
1865 |
1865 |
1866 |
1866 |
1867 @command( |
1867 @command( |
1868 b'debugindex', |
1868 b'debug-revlog-index|debugindex', |
1869 cmdutil.debugrevlogopts + cmdutil.formatteropts, |
1869 cmdutil.debugrevlogopts + cmdutil.formatteropts, |
1870 _(b'-c|-m|FILE'), |
1870 _(b'-c|-m|FILE'), |
1871 ) |
1871 ) |
1872 def debugindex(ui, repo, file_=None, **opts): |
1872 def debugindex(ui, repo, file_=None, **opts): |
1873 """dump index data for a storage primitive""" |
1873 """dump index data for a revlog""" |
1874 opts = pycompat.byteskwargs(opts) |
1874 opts = pycompat.byteskwargs(opts) |
1875 store = cmdutil.openstorage(repo, b'debugindex', file_, opts) |
1875 store = cmdutil.openstorage(repo, b'debugindex', file_, opts) |
1876 |
1876 |
1877 if ui.debugflag: |
1877 if ui.debugflag: |
1878 shortfn = hex |
1878 shortfn = hex |