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