Mercurial 4.2: update to "fromsvn()" crashes

Issue #464 resolved
banjobeni created an issue

Using Mercurial 4.2 and hgsubversion at the current stable (051a517b473b7bbb7f2176ed38a34fcee96fceee), when trying to run

hg update -r "fromsvn()"

I get the following stack trace:

** Unknown exception encountered with possibly-broken third-party extension svnbindings
** which supports versions unknown of Mercurial.
** Please disable svnbindings and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.2+4)
** Extensions loaded: hgsubversion, strip, mq, convert, rebase, transplant, color, purge, hg-git, svnbindings
Traceback (most recent call last):
  File "hg", line 61, in <module>
  File "mercurial\dispatch.pyo", line 83, in run
  File "mercurial\dispatch.pyo", line 164, in dispatch
  File "mercurial\dispatch.pyo", line 295, in _runcatch
  File "mercurial\dispatch.pyo", line 303, in _callcatch
  File "mercurial\scmutil.pyo", line 146, in callcatch
  File "mercurial\dispatch.pyo", line 285, in _runcatchfunc
  File "mercurial\dispatch.pyo", line 911, in _dispatch
  File "mercurial\dispatch.pyo", line 648, in runcommand
  File "mercurial\dispatch.pyo", line 919, in _runcommand
  File "mercurial\dispatch.pyo", line 908, in <lambda>
  File "mercurial\util.pyo", line 1077, in check
  File "mercurial\extensions.pyo", line 231, in closure
  File "mercurial\util.pyo", line 1077, in check
  File "hgext\mq.pyo", line 3546, in mqcommand
  File "mercurial\util.pyo", line 1077, in check
  File "mercurial\commands.pyo", line 5402, in update
  File "mercurial\scmutil.pyo", line 421, in revsingle
AttributeError: 'list' object has no attribute 'last'

I installed tortoisehg/hgsubversion along with the Subversion SWIG Python bindings about 3 months ago and it worked fine until I updated the first two. Do I somehow need to update SWIG as well?

Comments (1)

  1. Log in to comment