##// END OF EJS Templates
debugknown: migrate `opts` to native kwargs
Matt Harbison -
r51849:0cf89b09 default
parent child Browse files
Show More
@@ -2255,8 +2255,7 b' def debugknown(ui, repopath, *ids, **opt'
2255 2255 Every ID must be a full-length hex node id string. Returns a list of 0s
2256 2256 and 1s indicating unknown/known.
2257 2257 """
2258 opts = pycompat.byteskwargs(opts)
2259 repo = hg.peer(ui, opts, repopath)
2258 repo = hg.peer(ui, pycompat.byteskwargs(opts), repopath)
2260 2259 if not repo.capable(b'known'):
2261 2260 raise error.Abort(b"known() not supported by target repository")
2262 2261 flags = repo.known([bin(s) for s in ids])
General Comments 0
You need to be logged in to leave comments. Login now