Issue #392 open

TypeError: unhashable type: 'list'

Dennis Schridde
created an issue

Revision: 8045ebda705a

$ hg push
Übertrage nach svn+https://XXX
Authentication realm: <https://XXX:443> XXX
Password for 'XXX':
searching for changes
committing XXX
[r895] XXX
pulled 1 revisions
0 Dateien aktualisiert, 0 Dateien zusammengeführt, 0 Dateien entfernt, 0 Dateien ungelöst
** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.3 (default, Aug  1 2012, 05:16:07) [GCC 4.6.3]
** Mercurial Distributed SCM (version 2.0.2)
** Erweiterungen geladen: gpg, pager, graphlog, color, record, mq, fetch, rebase, purge, convert, hgsubversion, hggit, crecord, fastimport
Traceback (most recent call last):
  File "/usr/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 27, in run
    sys.exit(dispatch(request(sys.argv[1:])))
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 64, in dispatch
    return _runcatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 87, in _runcatch
    return _dispatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 684, in _dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 466, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 184, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/color.py", line 373, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 184, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/pager.py", line 107, in pagecmd
    return orig(ui, options, cmd, cmdfunc)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 738, in _runcommand
    return checkargs()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 692, in checkargs
    return cmdfunc()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 681, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 458, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 139, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 458, in check
    return func(*args, **kwargs)
  File "/home/XXX/.local/hgext/hgsubversion/hgsubversion/wrappers.py", line 632, in generic
    return orig(ui, repo, *args, **opts)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 458, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 139, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 458, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/mq.py", line 3229, in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 458, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 4338, in push
    newbranch=opts.get('new_branch'))
  File "/home/XXX/.local/hgext/hg-git/hggit/hgrepo.py", line 29, in push
    newbranch)
  File "/home/XXX/.local/hgext/hgsubversion/hgsubversion/svnrepo.py", line 81, in wrapper
    return fn(self, *args, **opts)
  File "/home/XXX/.local/hgext/hgsubversion/hgsubversion/svnrepo.py", line 100, in push
    return wrappers.push(self, remote, force, revs)
  File "/home/XXX/.local/hgext/hgsubversion/hgsubversion/wrappers.py", line 317, in push
    repair.strip(ui, repo, outgoing, "all")
  File "/usr/lib/python2.7/dist-packages/mercurial/repair.py", line 60, in strip
    striprev = cl.rev(node)
  File "/usr/lib/python2.7/dist-packages/mercurial/revlog.py", line 293, in rev
    return self._nodecache[node]
TypeError: unhashable type: 'list'

Comments (4)

  1. Dennis Schridde reporter

    It happened again. Please advise me on how to provide more useful information. I am using revision b5b1fce26f1f (latest stable).

    It seems to occur after I pushed new revisions to the server... The commits appear correctly on the SVN server, and also locally.

    $ hg push
    Übertrage nach svn+https://HOST/PATH
    Authentication realm: <https://HOST:443> REALM
    Password for 'USER':
    searching for changes
    committing REVISION
    [r924] USER: TEST
    pulled 1 revisions
    Kein Rebase nötig
    0 Dateien aktualisiert, 0 Dateien zusammengeführt, 0 Dateien entfernt, 0 Dateien ungelöst
    ** unknown exception encountered, please report by visiting
    **  http://mercurial.selenic.com/wiki/BugTracker
    ** Python 2.7.3 (default, Apr 10 2013, 05:46:21) [GCC 4.6.3]
    ** Mercurial Distributed SCM (version 2.0.2)
    ** Erweiterungen geladen: gpg, pager, graphlog, color, record, mq, fetch, rebase, purge, convert, hgsubversion, hggit, crecord, fastimport
    Traceback (most recent call last):
      File "/usr/bin/hg", line 38, in <module>
        mercurial.dispatch.run()
      File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 27, in run
        sys.exit(dispatch(request(sys.argv[1:])))
      File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 64, in dispatch
        return _runcatch(req)
      File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 87, in _runcatch
        return _dispatch(req)
      File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 684, in _dispatch
        cmdpats, cmdoptions)
      File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 466, in runcommand
        ret = _runcommand(ui, options, cmd, d)
      File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 184, in wrap
        return wrapper(origfn, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/hgext/color.py", line 373, in colorcmd
        return orig(ui_, opts, cmd, cmdfunc)
      File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 184, in wrap
        return wrapper(origfn, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/hgext/pager.py", line 107, in pagecmd
        return orig(ui, options, cmd, cmdfunc)
      File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 738, in _runcommand
        return checkargs()
      File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 692, in checkargs
        return cmdfunc()
      File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 681, in <lambda>
        d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
      File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 458, in check
        return func(*args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 139, in wrap
        util.checksignature(origfn), *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 458, in check
        return func(*args, **kwargs)
      File "/home/USER/.local/hgext/hgsubversion/hgsubversion/wrappers.py", line 594, in generic
        return orig(ui, repo, *args, **opts)
      File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 458, in check
        return func(*args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 139, in wrap
        util.checksignature(origfn), *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 458, in check
        return func(*args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/hgext/mq.py", line 3229, in mqcommand
        return orig(ui, repo, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 458, in check
        return func(*args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 4338, in push
        newbranch=opts.get('new_branch'))
      File "/home/USER/.local/hgext/hg-git/hggit/hgrepo.py", line 29, in push
        newbranch)
      File "/home/USER/.local/hgext/hgsubversion/hgsubversion/svnrepo.py", line 81, in wrapper
        return fn(self, *args, **opts)
      File "/home/USER/.local/hgext/hgsubversion/hgsubversion/svnrepo.py", line 100, in push
        return wrappers.push(self, remote, force, revs)
      File "/home/USER/.local/hgext/hgsubversion/hgsubversion/wrappers.py", line 294, in push
        repair.strip(ui, repo, to_strip, "all")
      File "/usr/lib/python2.7/dist-packages/mercurial/repair.py", line 60, in strip
        striprev = cl.rev(node)
      File "/usr/lib/python2.7/dist-packages/mercurial/revlog.py", line 293, in rev
        return self._nodecache[node]
    TypeError: unhashable type: 'list'
    
  2. Log in to comment