hg-git crash
Nathan Goldbaum
nathan12343 at gmail.com
Sat Mar 18 20:53:44 UTC 2017
The error message mentions mercurial 3.7, which is a year or so old. Does
the same error occur after you've updated mercurial, hg-git, and evolve?
On Sat, Mar 18, 2017 at 3:46 PM Neal Becker <ndbecker2 at gmail.com> wrote:
> After doing hg clone of a git repo, I tried hg pull -u and got:
>
> hg pull -u https://github.com/pybind/pybind11.git
> pulling from https://github.com/pybind/pybind11.git
> ** 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, Jan 12 2017, 17:59:37) [GCC 6.3.1 20161221 (Red
> Hat 6.3.1-1)]
> ** Mercurial Distributed SCM (version 4.1)
> ** Extensions loaded: hgk, rebase, convert, hggit, evolve, transplant,
> shelve
> Traceback (most recent call last):
> File "/usr/bin/hg", line 45, in <module>
> mercurial.dispatch.run()
> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 63,
> in run
> sys.exit((dispatch(request(pycompat.sysargv[1:])) or 0) & 255)
> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
> 129,
> in dispatch
> ret = _runcatch(req)
> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
> 219,
> in _runcatch
> return callcatch(ui, _runcatchfunc)
> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
> 227,
> in callcatch
> return scmutil.callcatch(ui, func)
> File "/usr/lib64/python2.7/site-packages/mercurial/scmutil.py", line 152,
> in callcatch
> return func()
> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
> 208,
> in _runcatchfunc
> return _dispatch(req)
> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
> 811,
> in _dispatch
> cmdpats, cmdoptions)
> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
> 563,
> in runcommand
> ret = _runcommand(ui, options, cmd, d)
> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
> 819,
> in _runcommand
> return cmdfunc()
> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
> 808,
> in <lambda>
> d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
> File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 1051,
> in
> check
> return func(*args, **kwargs)
> File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line
> 223, in closure
> return func(*(args + a), **kw)
> File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 1051,
> in
> check
> return func(*args, **kwargs)
> File "/home/nbecker/evolve/hgext/evolve.py", line 732, in warnobserrors
> ret = orig(ui, repo, *args, **kwargs)
> File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 1051,
> in
> check
> return func(*args, **kwargs)
> File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line
> 223, in closure
> return func(*(args + a), **kw)
> File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 1051,
> in
> check
> return func(*args, **kwargs)
> File "/home/nbecker/evolve/hgext/evolve.py", line 704, in
> wrapmayobsoletewc
> res = origfn(ui, repo, *args, **opts)
> File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 1051,
> in
> check
> return func(*args, **kwargs)
> File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line
> 223, in closure
> return func(*(args + a), **kw)
> File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 1051,
> in
> check
> return func(*args, **kwargs)
> File "/usr/lib64/python2.7/site-packages/hgext/rebase.py", line 1362, in
> pullrebase
> ret = orig(ui, repo, *args, **opts)
> File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 1051,
> in
> check
> return func(*args, **kwargs)
> File "/usr/lib64/python2.7/site-packages/mercurial/commands.py", line
> 5161, in pull
> opargs=pullopargs).cgresult
> File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line
> 223, in closure
> return func(*(args + a), **kw)
> File "/usr/lib/python2.7/site-packages/hggit/util.py", line 52, in inner
> return f(*args, **kwargs)
> File "/usr/lib/python2.7/site-packages/hggit/__init__.py", line 331, in
> exchangepull
> pullop.cgresult = repo.githandler.fetch(remote.path, heads)
> File "/usr/lib/python2.7/site-packages/hggit/git_handler.py", line 260,
> in
> fetch
> refs = self.fetch_pack(remote, heads)
> File "/usr/lib/python2.7/site-packages/hggit/git_handler.py", line 1118,
> in fetch_pack
> localclient, path = self.get_transport_and_path(remote_name)
> File "/usr/lib/python2.7/site-packages/hggit/git_handler.py", line 1617,
> in get_transport_and_path
> auth = urllib2.HTTPBasicAuthHandler(url.passwordmgr(self.ui))
> TypeError: __init__() takes exactly 3 arguments (2 given)
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20170318/0362d0e9/attachment-0002.html>
More information about the Mercurial
mailing list