# HG changeset patch # User Matt Harbison # Date 1692652814 14400 # Node ID 0cf89b099d42559fba1be1528aecb51c948a345a # Parent 45a53fc82ab25a1a773d2b0d0c116d0fb70703f8 debugknown: migrate `opts` to native kwargs diff -r 45a53fc82ab2 -r 0cf89b099d42 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Mon Aug 21 17:18:56 2023 -0400 +++ b/mercurial/debugcommands.py Mon Aug 21 17:20:14 2023 -0400 @@ -2255,8 +2255,7 @@ Every ID must be a full-length hex node id string. Returns a list of 0s and 1s indicating unknown/known. """ - opts = pycompat.byteskwargs(opts) - repo = hg.peer(ui, opts, repopath) + repo = hg.peer(ui, pycompat.byteskwargs(opts), repopath) if not repo.capable(b'known'): raise error.Abort(b"known() not supported by target repository") flags = repo.known([bin(s) for s in ids])