1. Augie Fackler
  2. hg-git
  3. Issues
Issue #43 resolved

Error with clone and push and pull

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://git@github.com:diegueus9/pythonco.git ~VIRTUAL_ENV 255 ↵ destination directory: pythonco ["git-upload-pack 'diegueus9/pythonco.git'"] importing git objects into hg unknown exception encountered, please report by visiting http://mercurial.selenic.com/wiki/BugTracker 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> mercurial.dispatch.run() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 27, in run sys.exit(dispatch(request(sys.argv[1:]))) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 64, in dispatch return _runcatch(req) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 87, in _runcatch return _dispatch(req) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 684, in _dispatch cmdpats, cmdoptions) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 466, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 738, in _runcommand return checkargs() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 692, in checkargs return cmdfunc() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 681, in <lambda> d = lambda: util.checksignature(func)(ui, *args, cmdoptions) File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 458, in check return func(args, *kwargs) File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 1139, in clone branch=opts.get('branch')) File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 347, in clone destrepo.clone(srcrepo, heads=revs, stream=stream) File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 2057, in clone return self.pull(remote, heads) File "/usr/share/pyshared/hgext/git/hgrepo.py", line 14, in pull return git.fetch(remote.path, heads) File "/usr/share/pyshared/hgext/git/git_handler.py", line 154, in fetch self.import_git_objects(remote_name, refs) File "/usr/share/pyshared/hgext/git/git_handler.py", line 517, in import_git_objects self.import_git_commit(commit) File "/usr/share/pyshared/hgext/git/git_handler.py", 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