Show More
@@ -288,7 +288,7 b' def lookup(repo, proto, key):' | |||
|
288 | 288 | success = 0 |
|
289 | 289 | return "%s %s\n" % (success, r) |
|
290 | 290 | |
|
291 | def known(repo, proto, nodes): | |
|
291 | def known(repo, proto, nodes, others): | |
|
292 | 292 | return ''.join(b and "1" or "0" for b in repo.known(decodelist(nodes))) |
|
293 | 293 | |
|
294 | 294 | def pushkey(repo, proto, namespace, key, old, new): |
@@ -412,7 +412,7 b' commands = {' | |||
|
412 | 412 | 'getbundle': (getbundle, '*'), |
|
413 | 413 | 'heads': (heads, ''), |
|
414 | 414 | 'hello': (hello, ''), |
|
415 | 'known': (known, 'nodes'), | |
|
415 | 'known': (known, 'nodes *'), | |
|
416 | 416 | 'listkeys': (listkeys, 'namespace'), |
|
417 | 417 | 'lookup': (lookup, 'key'), |
|
418 | 418 | 'pushkey': (pushkey, 'namespace key old new'), |
General Comments 0
You need to be logged in to leave comments.
Login now