[Python-apps-team] Bug#794987: mercurial-git: failed to import extension hgext.git: No module named ignore

Javi Merino merino.jav at gmail.com
Sun Aug 9 10:19:19 UTC 2015


Control: forwarded -1 https://bitbucket.org/durin42/hg-git/issues/157/hg-git-081-doesnt-work-under-mercurial-35

On Sat, Aug 08, 2015 at 10:04:18PM -0400, James McCoy wrote:
> Package: mercurial-git
> Version: 0.8.1-2
> Severity: important
> 
> In a repository using hg-git:
> 
> $ hg status
> *** failed to import extension hgext.git: No module named ignore
> ** unknown exception encountered, please report by visiting
> ** http://mercurial.selenic.com/wiki/BugTracker
> ** Python 2.7.10 (default, Jul  1 2015, 10:54:53) [GCC 4.9.2]
> ** Mercurial Distributed SCM (version 3.5)
> ** Extensions loaded: color, graphlog, hgk, strip, mq, pager, purge, record, rebase, histedit, gpg
> Traceback (most recent call last):
>   File "/usr/bin/hg", line 43, in <module>
>     mercurial.dispatch.run()
>   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 30, in run
>     sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
>   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 92, in dispatch
>     ret = _runcatch(req)
>   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 163, in _runcatch
>     return _dispatch(req)
>   File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 862, in _dispatch
>     repo = hg.repository(ui, path=path)
>   File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 136, in repository
>     peer = _peerorrepo(ui, path, create)
>   File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 123, in _peerorrepo
>     obj = _peerlookup(path).instance(ui, path, create)
>   File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 93, in _peerlookup
>     return thing(path)
>   File "/usr/lib/python2.7/dist-packages/hgext/git/__init__.py", line 84, in _local
>     p = urlcls(path).localpath()
> TypeError: 'NoneType' object is not callable

Argh, yes, mercurial-git 0.8.1 doesn't work with hg 3.5.  When I
uploaded mercurial-git 0.8.1-2, I thought the breaks in mercurial
would still be valid (but I didn't check it, and I should have).
Sorry for that.

I was waiting for a new version of mercurial-git to be released, but
given that I've already broken it, I may backport the fix and release
a 0.8.1-3 that is compatible with mercurial 3.5.

Cheers,
Javi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20150809/c1afe04e/attachment.sig>


More information about the Python-apps-team mailing list