[Bug 6169] New: HG Push fails with Key Error: ''

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue Jul 9 12:18:53 EDT 2019


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

            Bug ID: 6169
           Summary: HG Push fails with Key Error: ''
           Product: Mercurial
           Version: 5.0.2
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: nicolas+hgbz at ntruessel.ch
                CC: mercurial-devel at mercurial-scm.org

When trying to push, I get the following error:

% hg push
pushing to ssh://hg@bitbucket.org/ntruessel/silicon-dep
searching for changes
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.16 (default, Mar 11 2019, 18:59:25) [GCC 8.2.1 20181127]
** Mercurial Distributed SCM (version 5.0.2)
** Extensions loaded: shelve
Traceback (most recent call last):
  File "/usr/bin/hg", line 43, in <module>
    dispatch.run()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 99, in
run
    status = dispatch(req)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 225, in
dispatch
    ret = _runcatch(req) or 0
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 376, in
_runcatch
    return _callcatch(ui, _runcatchfunc)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 384, in
_callcatch
    return scmutil.callcatch(ui, func)
  File "/usr/lib/python2.7/site-packages/mercurial/scmutil.py", line 167, in
callcatch
    return func()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 367, in
_runcatchfunc
    return _dispatch(req)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 1021, in
_dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 756, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 1030, in
_runcommand
    return cmdfunc()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 1018, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 1680, in
check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mercurial/commands.py", line 4646, in
push
    opargs=opargs)
  File "/usr/lib/python2.7/site-packages/mercurial/exchange.py", line 566, in
push
    _pushbundle2(pushop)
  File "/usr/lib/python2.7/site-packages/mercurial/exchange.py", line 1138, in
_pushbundle2
    ret = partgen(pushop, bundler)
  File "/usr/lib/python2.7/site-packages/mercurial/exchange.py", line 909, in
_pushb2ctx
    if not _pushcheckoutgoing(pushop):
  File "/usr/lib/python2.7/site-packages/mercurial/exchange.py", line 804, in
_pushcheckoutgoing
    discovery.checkheads(pushop)
  File "/usr/lib/python2.7/site-packages/mercurial/discovery.py", line 337, in
checkheads
    headssum = _headssummary(pushop)
  File "/usr/lib/python2.7/site-packages/mercurial/discovery.py", line 242, in
_headssummary
    headssum[branch][1][:] = newheads
KeyError: ''

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


More information about the Mercurial-devel mailing list