[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


            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>
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 99, in
    status = dispatch(req)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 225, in
    ret = _runcatch(req) or 0
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 376, in
    return _callcatch(ui, _runcatchfunc)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 384, in
    return scmutil.callcatch(ui, func)
  File "/usr/lib/python2.7/site-packages/mercurial/scmutil.py", line 167, in
    return func()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 367, in
    return _dispatch(req)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 1021, in
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 756, in
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 1030, in
    return cmdfunc()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 1018, in
    d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 1680, in
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mercurial/commands.py", line 4646, in
  File "/usr/lib/python2.7/site-packages/mercurial/exchange.py", line 566, in
  File "/usr/lib/python2.7/site-packages/mercurial/exchange.py", line 1138, in
    ret = partgen(pushop, bundler)
  File "/usr/lib/python2.7/site-packages/mercurial/exchange.py", line 909, in
    if not _pushcheckoutgoing(pushop):
  File "/usr/lib/python2.7/site-packages/mercurial/exchange.py", line 804, in
  File "/usr/lib/python2.7/site-packages/mercurial/discovery.py", line 337, in
    headssum = _headssummary(pushop)
  File "/usr/lib/python2.7/site-packages/mercurial/discovery.py", line 242, in
    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