Closed develop7 closed 14 years ago
Let console speak:
$ hg clone git://github.com/schacon/hg-git.git destination directory: hg-git.git importing Hg objects into Git Counting objects: 1474, done. Compressing objects: 100% (1431/1431), done. Total 1474 (delta 328), reused 1124 (delta 7) importing Git objects into Hg at: 0/291 ** unknown exception encountered, details follow ** report bug details to http://mercurial.selenic.com/bts/ ** or mercurial@selenic.com ** Mercurial Distributed SCM (version 1.5) ** Extensions loaded: children, churn, color, gpg, graphlog, parentrevspec, rebase, transplant, fetch, autopager, keyword, bookmarks, hggit, record, convert, progress, hgattic Traceback (most recent call last): File "/usr/bin/hg", line 27, in <module> mercurial.dispatch.run() File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 16, in run sys.exit(dispatch(sys.argv[1:])) File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 30, in dispatch return _runcatch(u, args) File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 47, in _runcatch return _dispatch(ui, args) File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 466, in _dispatch return runcommand(lui, repo, cmd, fullargs, ui, options, d) File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 336, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib/pymodules/python2.6/mercurial/extensions.py", line 128, in wrap return wrapper(origfn, *args, **kwargs) File "/home/andy/.hgext/autopager/autopager.py", line 225, in pagecmd return orig(ui, options, cmd, cmdfunc) File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 517, in _runcommand return checkargs() File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 471, in checkargs return cmdfunc() File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 465, in <lambda> d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 401, in check return func(*args, **kwargs) File "/usr/lib/pymodules/python2.6/mercurial/commands.py", line 677, in clone branch=opts.get('branch')) File "/usr/lib/pymodules/python2.6/mercurial/hg.py", line 314, in clone dest_repo.clone(src_repo, heads=revs, stream=stream) File "/usr/lib/pymodules/python2.6/mercurial/localrepo.py", line 2209, in clone return self.pull(remote, heads) File "build/bdist.linux-i686/egg/hggit/hgrepo.py", line 12, in pull File "build/bdist.linux-i686/egg/hggit/git_handler.py", line 98, in fetch File "build/bdist.linux-i686/egg/hggit/git_handler.py", line 398, in import_git_objects File "build/bdist.linux-i686/egg/hggit/git_handler.py", line 406, in import_git_commit File "build/bdist.linux-i686/egg/hggit/git_handler.py", line 765, in get_files_changed AttributeError: 'DiskObjectStore' object has no attribute 'tree_changes'
Your dulwich is likely out of date. Make sure you have something 0.4.1 or newer.
you were right, sudo easy_install -U dulwich fixed an issue.
sudo easy_install -U dulwich
Let console speak: