##// END OF EJS Templates
debugdeltachain: migrate `opts` to native kwargs
Matt Harbison -
r51840:32fe4af9 default
parent child Browse files
Show More
@@ -799,8 +799,9 b' def debugdeltachain(ui, repo, file_=None'
799
799
800 The sparse read can be enabled with experimental.sparse-read = True
800 The sparse read can be enabled with experimental.sparse-read = True
801 """
801 """
802 opts = pycompat.byteskwargs(opts)
802 r = cmdutil.openrevlog(
803 r = cmdutil.openrevlog(repo, b'debugdeltachain', file_, opts)
803 repo, b'debugdeltachain', file_, pycompat.byteskwargs(opts)
804 )
804 index = r.index
805 index = r.index
805 start = r.start
806 start = r.start
806 length = r.length
807 length = r.length
@@ -890,7 +891,7 b' def debugdeltachain(ui, repo, file_=None'
890
891
891 return p1, p2, compsize, uncompsize, deltatype, chain, chain_size
892 return p1, p2, compsize, uncompsize, deltatype, chain, chain_size
892
893
893 fm = ui.formatter(b'debugdeltachain', opts)
894 fm = ui.formatter(b'debugdeltachain', pycompat.byteskwargs(opts))
894
895
895 fm.plain(
896 fm.plain(
896 b' rev p1 p2 chain# chainlen prev delta '
897 b' rev p1 p2 chain# chainlen prev delta '
General Comments 0
You need to be logged in to leave comments. Login now