cannot import from Mercurial
Georg
gwk.rko at googlemail.com
Fri Apr 11 18:37:25 BST 2008
Hi,
is there a working way to import from Mercurial? I tried both hg-import and
fastimport (hg-
With hgimport I got:
hunter[53]$ bzr hg-import ~/hg.TeamIntegration/
bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute
'hex'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in
run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in
run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in
run_argv_aliases
return self.run(**all_cmd_args)
File "/home/hunter/gwk/.bazaar/plugins/hgimport/__init__.py", line 34, in
run
importer.run(location)
File "/home/hunter/gwk/.bazaar/plugins/hgimport/importer.py", line 260, in
run
for rev, inv in self.iter_revisions(pb):
File "/home/hunter/gwk/.bazaar/plugins/hgimport/importer.py", line 173, in
iter_revisions
revision_id = bzr_revision_id(node)
File "/home/hunter/gwk/.bazaar/plugins/hgimport/importer.py", line 52, in
bzr_revision_id
return 'hg-' + mercurial.hg.hex(node)
AttributeError: 'module' object has no attribute 'hex'
bzr 1.3.1rc1 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'hg-import',
'/home/hunter/gwk/hg.TeamIntegration/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'de_DE.UTF-8'
plugins:
fastimport /home/hunter/gwk/.bazaar/plugins/fastimport [unknown]
hgimport /home/hunter/gwk/.bazaar/plugins/hgimport [unknown]
launchpad
/usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
qbzr /usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr
[unknown]
svn /home/hunter/gwk/.bazaar/plugins/svn [unknown]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
hunter[54]$
and with fastimport I got:
hunter[58]$ ~/.bazaar/plugins/fastimport/exporters/hg-fast-export.py
--repo=/home/hunter/gwk/hg.TeamIntegration/ bzr fastimport
Error: repository has at least one unnamed head: hg r6324
hunter[59]$
Google didn't find what that message means (well probably all heads are
"unnamed" in Mercurial, but that's expected, right?).
--
Regards,
Georg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20080411/58ecdda7/attachment.htm
More information about the bazaar
mailing list