Since updating to version 2.0.4 of SourceTree this error appears on startup. "hg status" is failing causing information to not show up in the repository window.
'hg status' failed with code 1:'*** failed to import extension hgext.hgsubversion from /Applications/SourceTree.app/Contents/Resources/mercurial_local/hgext/hgsubversion: 'module' object has no attribute 'canonpath'
** Unknown exception encountered with possibly-broken third-party extension hgattic
** which supports versions unknown of Mercurial.
** Please disable hgattic and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.5 (default, Mar 9 2014, 22:15:05) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]
** Mercurial Distributed SCM (version 3.2.3)
** Extensions loaded: purge, transplant, fetch, extdiff, rebase, strip, mq, hgattic, hgflow, gpg, sourcetree_auth, progress, sourcetree_checklink
Traceback (most recent call last):
File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/hg_local", line 35, in <module>
mercurial.dispatch.run()
File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 28, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 71, in dispatch
ret = _runcatch(req)
File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 140, in _runcatch
return _dispatch(req)
File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 817, in _dispatch
repo = hg.repository(ui, path=path)
File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/hg.py", line 128, in repository
peer = _peerorrepo(ui, path, create)
File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/hg.py", line 115, in _peerorrepo
obj = _peerlookup(path).instance(ui, path, create)
File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/hg.py", line 89, in _peerlookup
return thing(path)
File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/hgext/hgsubversion/__init__.py", line 185, in _lookup
if util.islocalrepo(url):
AttributeError: 'NoneType' object has no attribute 'islocalrepo'