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

Attachment: signature.asc
Description: Digital signature

Reply via email to