Bazaar, Launchpad and Mercurial
Russel Winder
russel at winder.org.uk
Wed Jun 13 18:49:06 UTC 2012
On Wed, 2012-06-13 at 20:10 +0200, Gour wrote:
[...]
> Does it mean that end result is that one can forget about mirroring hg
> (bibucket) branches at Launchpad?
Apparently yes, but not for the reason that bzr-hg is missing. Launchpad
clearly has a technique but it finds a problem that the Hg → Git → Bzr
route does not find:
…
2012-06-12 15:18:00 INFO fetching manifests 2490/2631
2012-06-12 15:19:00 INFO fetching manifests 2534/2631
2012-06-12 15:19:51 INFO
Traceback (most recent call last):
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/scripts/code-import-worker.py", line 99, in <module>
sys.exit(script.main())
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/scripts/code-import-worker.py", line 94, in main
return import_worker.run()
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/lib/lp/codehosting/codeimport/worker.py", line 591, in run
return self._doImport()
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/lib/lp/codehosting/codeimport/worker.py", line 745, in _doImport
inter_branch.fetch(limit=revision_limit)
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/bzrplugins/hg/branch.py", line 483, in fetch
inter.fetch(revision_id=stop_revision, limit=limit)
File "<string>", line 4, in fetch_write_locked
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/bzrplugins/hg/fetch.py", line 766, in fetch
self.addchangegroup(cg, mapping, limit=limit)
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/bzrplugins/hg/fetch.py", line 624, in addchangegroup
self._target_overlay.remember_manifest_texts(manifests)
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/bzrplugins/hg/overlay.py", line 132, in remember_manifest_texts
((FulltextContentFactory((revid,), [(p,) for p in parent_revids], None, str(text)) for (revid, parent_revids, text) in entries)))
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/eggs/bzr-2.5.0.lp.2-py2.6-linux-i686.egg/bzrlib/knit.py", line 1589, in insert_record_stream
for record in stream:
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/bzrplugins/hg/overlay.py", line 132, in <genexpr>
((FulltextContentFactory((revid,), [(p,) for p in parent_revids], None, str(text)) for (revid, parent_revids, text) in entries)))
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/bzrplugins/hg/fetch.py", line 601, in _unpack_manifests
kind_map)
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/bzrplugins/hg/fetch.py", line 569, in _process_manifest
self.get_parent_map([revid])[revid]))
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/bzrplugins/hg/fetch.py", line 386, in _get_inventories_or_manifests
yield self._target_overlay.get_manifest_and_flags_by_revid(revid)[0]
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/bzrplugins/hg/overlay.py", line 272, in get_manifest_and_flags_by_revid
return self._reconstruct_manifest_and_flags_by_revid(revid)
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/bzrplugins/hg/overlay.py", line 275, in _reconstruct_manifest_and_flags_by_revid
tree = self.repo.revision_tree(revid)
File "<string>", line 4, in revision_tree_read_locked
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/eggs/bzr-2.5.0.lp.2-py2.6-linux-i686.egg/bzrlib/vf_repository.py", line 1784, in revision_tree
inv = self.get_inventory(revision_id)
File "<string>", line 4, in get_inventory_read_locked
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/eggs/bzr-2.5.0.lp.2-py2.6-linux-i686.egg/bzrlib/vf_repository.py", line 1682, in get_inventory
return self.iter_inventories([revision_id]).next()
File "/srv/importd.launchpad.net/production/launchpad-rev-15389/eggs/bzr-2.5.0.lp.2-py2.6-linux-i686.egg/bzrlib/repofmt/groupcompress_repo.py", line 981, in _iter_inventories
raise errors.NoSuchRevision(self, record.key)
bzrlib.errors.NoSuchRevision: CHKInventoryRepository('file:///srv/importd.launchpad.net/data/worker-for-branch-628527/bzr_branch/.bzr/repository/') has no revision ('hg-v1:089a9ecfbd7f558b20b21ca03e5400c8e69ccf80',)
Import failed:
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20120613/d1170b2a/attachment.pgp>
More information about the bazaar
mailing list