##// END OF EJS Templates
debugdeltafind: migrate `opts` to native kwargs
Matt Harbison -
r51841:f7c35a64 default
parent child Browse files
Show More
@@ -1026,7 +1026,6 b' def debugdeltafind(ui, repo, arg_1, arg_'
1026
1026
1027 note: the process is initiated from a full text of the revision to store.
1027 note: the process is initiated from a full text of the revision to store.
1028 """
1028 """
1029 opts = pycompat.byteskwargs(opts)
1030 if arg_2 is None:
1029 if arg_2 is None:
1031 file_ = None
1030 file_ = None
1032 rev = arg_1
1031 rev = arg_1
@@ -1036,7 +1035,9 b' def debugdeltafind(ui, repo, arg_1, arg_'
1036
1035
1037 rev = int(rev)
1036 rev = int(rev)
1038
1037
1039 revlog = cmdutil.openrevlog(repo, b'debugdeltachain', file_, opts)
1038 revlog = cmdutil.openrevlog(
1039 repo, b'debugdeltachain', file_, pycompat.byteskwargs(opts)
1040 )
1040 p1r, p2r = revlog.parentrevs(rev)
1041 p1r, p2r = revlog.parentrevs(rev)
1041
1042
1042 if source == b'full':
1043 if source == b'full':
General Comments 0
You need to be logged in to leave comments. Login now