schacon/hg-git — Issue #235: Compatiblity Problem betwwen ppa versions of mercurial and hg-git
Author: Vadiml1024
Created: 2011-11-14 10:46:57+00:00
State: open

I'm running Ubuntu Natty, and have a PPA specified as repository for mercurial....
I've just installed mercurial-git package and getting following:

*** failed to import extension git: 'module' object has no attribute 'findoutgoing'
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) [GCC 4.5.2]
** Mercurial Distributed SCM (version 1.9.1)
** Extensions loaded: review, mq, record, shelve, purge, convert
Traceback (most recent call last):
File "/usr/bin/hg", line 38, in
mercurial.dispatch.run()
File "/usr/lib/pymodules/python2.7/mercurial/dispatch.py", line 27, in run
sys.exit(dispatch(request(sys.argv[1:])))
File "/usr/lib/pymodules/python2.7/mercurial/dispatch.py", line 64, in dispatch
return _runcatch(req)
File "/usr/lib/pymodules/python2.7/mercurial/dispatch.py", line 87, in _runcatch
return _dispatch(req)
File "/usr/lib/pymodules/python2.7/mercurial/dispatch.py", line 650, in _dispatch
repo = hg.repository(ui, path=path)
File "/usr/lib/pymodules/python2.7/mercurial/hg.py", line 93, in repository
repo = _peerlookup(path).instance(ui, path, create)
File "/usr/lib/pymodules/python2.7/mercurial/hg.py", line 78, in _peerlookup
return thing(path)
File "/usr/lib/pymodules/python2.7/hgext/git/__init__.py", line 45, in _local
p = hgutil.drop_scheme('file', path)
AttributeError: 'NoneType' object has no attribute 'drop_scheme'