Error with clone and push and pull

Issue #43 resolved
Diego Andrés Sanabria Martín
created an issue


Ubuntu 12.04 Python 2.7.3 virtualenvwrapper 2.11.1-2 pip 1.0

Method of installation: apt-get install mercurial-git

When happends the error? in hg clone, hg pull and hg push

traceback: {{{


(pythonco)~VIRTUAL_ENV » hg clone git+ssh:// ~VIRTUAL_ENV 255 ↵ destination directory: pythonco ["git-upload-pack 'diegueus9/pythonco.git'"] importing git objects into hg unknown exception encountered, please report by visiting Python 2.7.3 (default, Apr 20 2012, 22:44:07) [GCC 4.6.3] Mercurial Distributed SCM (version 2.0.2) Extensions loaded: geo, hggit Traceback (most recent call last): File "/usr/bin/hg", line 38, in <module> File "/usr/lib/python2.7/dist-packages/mercurial/", line 27, in run sys.exit(dispatch(request(sys.argv[1:]))) File "/usr/lib/python2.7/dist-packages/mercurial/", line 64, in dispatch return _runcatch(req) File "/usr/lib/python2.7/dist-packages/mercurial/", line 87, in _runcatch return _dispatch(req) File "/usr/lib/python2.7/dist-packages/mercurial/", line 684, in _dispatch cmdpats, cmdoptions) File "/usr/lib/python2.7/dist-packages/mercurial/", line 466, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib/python2.7/dist-packages/mercurial/", line 738, in _runcommand return checkargs() File "/usr/lib/python2.7/dist-packages/mercurial/", line 692, in checkargs return cmdfunc() File "/usr/lib/python2.7/dist-packages/mercurial/", line 681, in <lambda> d = lambda: util.checksignature(func)(ui, *args, cmdoptions) File "/usr/lib/python2.7/dist-packages/mercurial/", line 458, in check return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/mercurial/", line 1139, in clone branch=opts.get('branch')) File "/usr/lib/python2.7/dist-packages/mercurial/", line 347, in clone destrepo.clone(srcrepo, heads=revs, stream=stream) File "/usr/lib/python2.7/dist-packages/mercurial/", line 2057, in clone return self.pull(remote, heads) File "/usr/share/pyshared/hgext/git/", line 14, in pull return git.fetch(remote.path, heads) File "/usr/share/pyshared/hgext/git/", line 154, in fetch self.import_git_objects(remote_name, refs) File "/usr/share/pyshared/hgext/git/", line 517, in import_git_objects self.import_git_commit(commit) File "/usr/share/pyshared/hgext/git/", line 677, in import_git_commit node = self.repo.commitctx(ctx) TypeError: commitctx() takes exactly 3 arguments (2 given) }}}

Comments (1)

  1. Log in to comment