[Bug 4931] New: KeyError: 'clonebundles' when attempting to use clone bundles over ssh://

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Nov 3 18:56:52 UTC 2015


https://bz.mercurial-scm.org/show_bug.cgi?id=4931

            Bug ID: 4931
           Summary: KeyError: 'clonebundles' when attempting to use clone
                    bundles over ssh://
           Product: Mercurial
           Version: 3.6
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: gregory.szorc at gmail.com
                CC: mercurial-devel at selenic.com

>From an empty repo:

$ hg pull ssh://hg.mozilla.org/integration/fx-team
pulling from ssh://hg.mozilla.org/integration/fx-team
** Unknown exception encountered with possibly-broken third-party extension
qimportbz
** which supports versions unknown of Mercurial.
** Please disable qimportbz and try your action again.
** If that fixes the bug please report it to
https://bugzilla.mozilla.org/enter_bug.cgi?product=Developer%20Services&component=Mercurial%3A%20qimportbz
** Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
** Mercurial Distributed SCM (version 3.6)
** Extensions loaded: blackbox, pager, purge, share, transplant, progress,
color, rebase, histedit, strip, mq, qimportbz, push-to-try, bzexport,
firefoxtree, qbackout, reviewboard
Traceback (most recent call last):
  File "c:/mozilla-build-test/python/Scripts/hg", line 43, in <module>
    mercurial.dispatch.run()
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\dispatch.py",
line 54, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\dispatch.py",
line 116, in dispatch
    ret = _runcatch(req)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\dispatch.py",
line 187, in _runcatch
    return _dispatch(req)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\dispatch.py",
line 920, in _dispatch
    cmdpats, cmdoptions)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\dispatch.py",
line 679, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File
"c:\mozilla-build-test\python\Lib\site-packages\mercurial\extensions.py", line
183, in closure
    return func(*(args + a), **kw)
  File "c:\mozilla-build-test\python\Lib\site-packages\hgext\color.py", line
525, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File
"c:\mozilla-build-test\python\Lib\site-packages\mercurial\extensions.py", line
183, in closure
    return func(*(args + a), **kw)
  File "c:\mozilla-build-test\python\Lib\site-packages\hgext\pager.py", line
139, in pagecmd
    return orig(ui, options, cmd, cmdfunc)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\dispatch.py",
line 1051, in _runcommand
    return checkargs()
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\dispatch.py",
line 1011, in checkargs
    return cmdfunc()
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\dispatch.py",
line 917, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\util.py", line
801, in check
    return func(*args, **kwargs)
  File
"c:\mozilla-build-test\python\Lib\site-packages\mercurial\extensions.py", line
183, in closure
    return func(*(args + a), **kw)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\util.py", line
801, in check
    return func(*args, **kwargs)
  File
"c:/Users/Ryan/.mozbuild/version-control-tools/hgext\firefoxtree\__init__.py",
line 317, in pullcommand
    return orig(ui, repo, source=source, **opts)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\util.py", line
801, in check
    return func(*args, **kwargs)
  File
"c:\mozilla-build-test\python\Lib\site-packages\mercurial\extensions.py", line
183, in closure
    return func(*(args + a), **kw)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\util.py", line
801, in check
    return func(*args, **kwargs)
  File "c:\mozilla-build-test\python\Lib\site-packages\hgext\mq.py", line 3525,
in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\util.py", line
801, in check
    return func(*args, **kwargs)
  File
"c:\mozilla-build-test\python\Lib\site-packages\mercurial\extensions.py", line
183, in closure
    return func(*(args + a), **kw)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\util.py", line
801, in check
    return func(*args, **kwargs)
  File "c:\mozilla-build-test\python\Lib\site-packages\hgext\rebase.py", line
1143, in pullrebase
    orig(ui, repo, *args, **opts)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\util.py", line
801, in check
    return func(*args, **kwargs)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\commands.py",
line 5324, in pull
    opargs=pullopargs).cgresult
  File
"c:\mozilla-build-test\python\Lib\site-packages\mercurial\extensions.py", line
183, in closure
    return func(*(args + a), **kw)
  File
"c:/Users/Ryan/.mozbuild/version-control-tools/hgext\firefoxtree\__init__.py",
line 215, in pull
    res = orig(repo, remote, *args, **kwargs)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\exchange.py",
line 1115, in pull
    _maybeapplyclonebundle(pullop)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\exchange.py",
line 1667, in _maybeapplyclonebundle
    res = remote._call('clonebundles')
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\sshpeer.py",
line 258, in _call
    self._callstream(cmd, **args)
  File "c:\mozilla-build-test\python\Lib\site-packages\mercurial\sshpeer.py",
line 232, in _callstream
    _func, names = wireproto.commands[cmd]
KeyError: 'clonebundles'

This is because sshpeer's _callstream() accesses
wireproto.commands['clonebundles'], which is only defined if the clone bundles
extension is loaded. httppeer doesn't have this issue because it has a generic
mechanism for encoding arguments that doesn't rely on the wire protocol's
definition of arguments.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list