hgsubversion brings hg down on non-svn repos

Issue #174 invalid
anatoly techtonik
created an issue

I have problems with svn bindings on Windows, so hgsubversion extension doesn't work. The same is with hggit, but.. even when Mercurial reports failure importing hgsubversion, the extensions is still loaded and meddles with other operations.

I believe that the traceback below is caused by yet another BitBucket shard went offline, because after third try the same command run ok. It would be nice if hgsubversion will not complicate debug of network problems.

And I wonder how the control passed to hgsubversion after all?



M:\p\python>hg clone ssh://hg@bitbucket.org/durin42/hgsubversion failed to import extension hggit: No module named hggit failed to import extension hgsubversion from C:\hgext\hgsubversion: No module named libsvn.core destination directory: hgsubversion unknown exception encountered, details follow report bug details to http://mercurial.selenic.com/bts/ or mercurial@selenic.com Mercurial Distributed SCM (version 1.5.2) ** Extensions loaded: bookmarks, convert, graphlog, mq, patchbomb, progress, rebase Traceback (most recent call last): File "hg", line 27, in <module> File "mercurial\dispatch.pyc", line 16, in run File "mercurial\dispatch.pyc", line 30, in dispatch File "mercurial\dispatch.pyc", line 50, in _runcatch File "mercurial\dispatch.pyc", line 470, in _dispatch File "mercurial\dispatch.pyc", line 340, in runcommand File "mercurial\dispatch.pyc", line 521, in _runcommand File "mercurial\dispatch.pyc", line 475, in checkargs File "mercurial\dispatch.pyc", line 469, in <lambda> File "mercurial\util.pyc", line 401, in check File "mercurial\commands.pyc", line 681, in clone File "mercurial\hg.pyc", line 298, in clone File "mercurial\hg.pyc", line 82, in repository File "mercurial\hg.pyc", line 67, in _lookup File "C:\hgext\hgsubversion__init__.py", line 115, in _lookup if util.islocalrepo(url): AttributeError: 'NoneType' object has no attribute 'islocalrepo' }}}

Comments (2)

  1. Log in to comment