Show More
@@ -484,8 +484,7 b' def debugbundle(ui, bundlepath, all=None' | |||||
484 | @command(b'debugcapabilities', [], _(b'PATH'), norepo=True) |
|
484 | @command(b'debugcapabilities', [], _(b'PATH'), norepo=True) | |
485 | def debugcapabilities(ui, path, **opts): |
|
485 | def debugcapabilities(ui, path, **opts): | |
486 | """lists the capabilities of a remote peer""" |
|
486 | """lists the capabilities of a remote peer""" | |
487 |
|
|
487 | peer = hg.peer(ui, pycompat.byteskwargs(opts), path) | |
488 | peer = hg.peer(ui, opts, path) |
|
|||
489 | try: |
|
488 | try: | |
490 | caps = peer.capabilities() |
|
489 | caps = peer.capabilities() | |
491 | ui.writenoi18n(b'Main capabilities:\n') |
|
490 | ui.writenoi18n(b'Main capabilities:\n') |
General Comments 0
You need to be logged in to leave comments.
Login now