hg-git broken?

Rainer Bauer usenet at munnin.com
Tue Aug 11 15:24:25 CDT 2009


Hello,

I use hg-git on WinXP SP3 to keep up-to-date on the soci library:
hg clone git://soci.git.sourceforge.net/gitroot/soci

When I initially tested hg-git it worked. I used version
schacon-hg-git-f39eb82247be74de06d357414dbcddd004f717bf
[I have just tested this revision and it still works!]

But I downloaded the latest version today:
schacon-hg-git-58dfc84ba193946730524845bb12f76b8ed87375

And now the "hg clone" command fails (see log below).

It's not crucial for me (since I can still use the old version), but
maybe the report will help you.

Regards,

Rainer

--------------------------------------------------------------------------

D:\Installed\Developement\DVCS\Mercurial\packages\test>hg clone git://soci.git.sourceforge.net/gitroot/soci
fetching from : origin
importing Hg objects into Git
Counting objects: 5084, done.
Compressing objects: 100% (1330/1330), done.
Total 5084 (delta 3833), reused 4874 (delta 3717)
importing Git objects into Hg
at:   0/693
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.3.1)
** Extensions loaded: extdiff, bookmarks, hg-git
Traceback (most recent call last):
  File "hg", line 38, in <module>
  File "mercurial\dispatch.pyc", line 16, in run
  File "mercurial\dispatch.pyc", line 27, in dispatch
  File "mercurial\dispatch.pyc", line 43, in _runcatch
  File "mercurial\dispatch.pyc", line 449, in _dispatch
  File "mercurial\dispatch.pyc", line 317, in runcommand
  File "mercurial\dispatch.pyc", line 501, in _runcommand
  File "mercurial\dispatch.pyc", line 454, in checkargs
  File "mercurial\dispatch.pyc", line 448, in <lambda>
  File "mercurial\util.pyc", line 402, in check
  File "mercurial\commands.pyc", line 636, in clone
  File "mercurial\hg.pyc", line 183, in clone
  File "mercurial\hg.pyc", line 63, in repository
  File "D:\Installed\Developement\DVCS\Mercurial\packages\schacon-hg-git-58dfc84ba193946730524845bb12f76b8ed87375\gitrepo.py", line 17, in __init__
    git.fetch('origin')
  File "D:\Installed\Developement\DVCS\Mercurial\packages\schacon-hg-git-58dfc84ba193946730524845bb12f76b8ed87375\git_handler.py", line 107, in fetch
    self.import_git_objects(remote_name, refs)
  File "D:\Installed\Developement\DVCS\Mercurial\packages\schacon-hg-git-58dfc84ba193946730524845bb12f76b8ed87375\git_handler.py", line 644, in import_git_objec
ts
    self.import_git_commit(commit)
  File "D:\Installed\Developement\DVCS\Mercurial\packages\schacon-hg-git-58dfc84ba193946730524845bb12f76b8ed87375\git_handler.py", line 801, in import_git_commi
t
    node = self.repo.commit_import_ctx(ctx, pa, force_files)
  File "D:\Installed\Developement\DVCS\Mercurial\packages\schacon-hg-git-58dfc84ba193946730524845bb12f76b8ed87375\hgrepo.py", line 57, in commit_import_ctx
    new[f] = self.filecommit(fctx, m1, m2, linkrev, trp, changed)
AttributeError: 'bookmark_repo' object has no attribute 'filecommit'

D:\Installed\Developement\DVCS\Mercurial\packages\test>



More information about the Mercurial mailing list