[Python-apps-team] Bug#873145: mercurial-git: hg-git needs to be updated to 0.8.9 to work with mercurial 4.3
derfel
debian at derfel.net
Thu Aug 24 20:40:53 UTC 2017
Package: mercurial-git
Version: 0.8.5-4
Severity: grave
Justification: renders package unusable
Tags: fixed-upstream, sid
With the new mercurial 4.3 in sid mercurial-git cannot work anymore. A sample
error is:
$ hg status
abort: No module named osutil!
$ hg log
** Unknown exception encountered with possibly-broken third-party extension
hggit
** which supports versions 3.7 of Mercurial.
** Please disable hggit and try your action again.
** If that fixes the bug please report it to https://bitbucket.org/durin42/hg-
git/issues
** Python 2.7.13+ (default, Jul 19 2017, 18:15:03) [GCC 6.4.0 20170704]
** Mercurial Distributed SCM (version 4.3.1)
** Extensions loaded: hggit
Traceback (most recent call last):
File "/usr/bin/hg", line 45, in <module>
mercurial.dispatch.run()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 81, in
run
status = (dispatch(req) or 0) & 255
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 162, in
dispatch
ret = _runcatch(req)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 302, in
_runcatch
return _callcatch(ui, _runcatchfunc)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 310, in
_callcatch
return scmutil.callcatch(ui, func)
File "/usr/lib/python2.7/dist-packages/mercurial/scmutil.py", line 150, in
callcatch
return func()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 292, in
_runcatchfunc
return _dispatch(req)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 896, in
_dispatch
cmdpats, cmdoptions)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 658, in
runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 904, in
_runcommand
return cmdfunc()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 893, in
<lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1079, in
check
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 3379, in
log
displayer.show(ctx, copies=copies, matchfn=revmatchfn)
File "/usr/lib/python2.7/dist-packages/mercurial/cmdutil.py", line 1510, in
show
self._show(ctx, copies, matchfn, props)
File "/usr/lib/python2.7/dist-packages/mercurial/cmdutil.py", line 1553, in
_show
for name in ns.names(self.repo, changenode):
File "/usr/lib/python2.7/dist-packages/mercurial/namespaces.py", line 195, in
names
return sorted(self.nodemap(repo, node))
File "/usr/lib/python2.7/dist-packages/mercurial/namespaces.py", line 44, in
<lambda>
tagnodemap = lambda repo, node: repo.nodetags(node)
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 895, in
nodetags
if not self._tagscache.nodetagscache:
File "/usr/lib/python2.7/dist-packages/mercurial/repoview.py", line 239, in
__getattr__
return getattr(self._unfilteredrepo, attr)
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 823, in
__get__
result = self.func(obj)
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 817, in
_tagscache
cache.tags, cache.tagtypes = self._findtags()
File "/usr/local/lib/python2.7/dist-
packages/hg_git-0.8.5-py2.7.egg/hggit/hgrepo.py", line 47, in _findtags
for tag, rev in self.githandler.tags.iteritems():
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 823, in
__get__
result = self.func(obj)
File "/usr/local/lib/python2.7/dist-
packages/hg_git-0.8.5-py2.7.egg/hggit/hgrepo.py", line 66, in githandler
return GitHandler(self, self.ui)
File "/usr/local/lib/python2.7/dist-
packages/hg_git-0.8.5-py2.7.egg/hggit/git_handler.py", line 110, in __init__
self.gitdir = self.repo.join('git')
AttributeError: 'hgrepo' object has no attribute 'join'
hg log don't work anymore even if the upstream repository is mercurial and not
git. So, basically, you cannot use mercurial anymore if not disabling the
extension in hgrc or updating to the latest version which is already fixed.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (800, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.11.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to it_IT.UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set
to it_IT.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mercurial-git depends on:
ii mercurial 4.3.1-2
ii python 2.7.13-2
ii python-dulwich 0.18.2-1
mercurial-git recommends no packages.
mercurial-git suggests no packages.
More information about the Python-apps-team
mailing list