felipec / git

Fork of Junio Hamano's git for users
Other
204 stars 34 forks source link

planet bzr repos cannot be cloned #51

Closed mcepl closed 10 years ago

mcepl commented 10 years ago

I admit this is git/git@3d092bf not from your repo, but could I at least ask for your opinion whether I should file a report on the list for this:

matej@wycliff: tmp$ git clone bzr::https://people.gnome.org/~jdub/bzr/planet/devel/trunk/ planetplanet-devel
Cloning into 'planetplanet-devel'...
Traceback (most recent call last):
  File "/home/matej/.local/bin/git-remote-bzr", line 947, in <module>
    sys.exit(main(sys.argv))
  File "/home/matej/.local/bin/git-remote-bzr", line 931, in main
    do_import(parser)
  File "/home/matej/.local/bin/git-remote-bzr", line 399, in do_import
    export_branch(repo, name)
  File "/home/matej/.local/bin/git-remote-bzr", line 324, in export_branch
    prev = repo.revision_tree(parent)
  File "<string>", line 4, in revision_tree_read_locked
  File "/usr/lib64/python2.7/site-packages/bzrlib/vf_repository.py", line 1838, in revision_tree
    inv = self.get_inventory(revision_id)
  File "<string>", line 4, in get_inventory_read_locked
  File "/usr/lib64/python2.7/site-packages/bzrlib/vf_repository.py", line 1731, in get_inventory
    return self.iter_inventories([revision_id]).next()
  File "/usr/lib64/python2.7/site-packages/bzrlib/vf_repository.py", line 1751, in iter_inventories
    raise errors.NoSuchRevision(self, revid)
bzrlib.errors.NoSuchRevision: CHKInventoryRepository('file:///tmp/planetplanet-devel/.git/bzr/.bzr/repository/') has no revision Arch-1:scott@netsplit.com--2004%planet--devel--1.0--patch-47
fatal: stream ends early
fast-import: dumping crash report to /tmp/planetplanet-devel/.git/fast_import_crash_10147
fatal: Error while running fast-import
matej@wycliff: tmp$ bzr clone https://people.gnome.org/~jdub/bzr/planet/devel/trunk/ planetplanet-devel
The command 'bzr clone' has been deprecated in bzr 2.4. Please use 'bzr branch' instead.
Working tree format 3 is deprecated and a better format is available.
It is recommended that you upgrade by running the command
  bzr upgrade https://people.gnome.org/~jdub/bzr/planet/devel/trunk/
Branched 54 revisions.                                                           
matej@wycliff: tmp$ 
felipec commented 10 years ago

If I clone this repository with bazaar, and then do bzr log, I get this:

bzr: ERROR: Revision {Arch-1:scott@netsplit.com--2004%planet--devel--1.0--patch-47} not present in "Graph(StackedParentsProvider(bzrlib.repository._LazyListJoin(([CachingParentsProvider(CallableToParentsProviderAdapter(<bound method CHKInventoryRepository._get_parent_map_no_fallbacks of CHKInventoryRepository('file:///tmp/planetplanet-devel.bzr/.bzr/repository/')>))], []))))".

So I'd say this is a bazaar bug.

mcepl commented 10 years ago

Lovely. However, I don't care about bazaar that much.

felipec commented 10 years ago

I don't think anybody does =/

mcepl commented 10 years ago

Well, unfortunately there are few misguided soules who do (the author of Planet is the one, but I like bitlbee as well; bugzilla is finally moving ... but to hg :().

felipec commented 10 years ago

Bugzilla was using bazaar? I'm shocked. At least it's a move in the right direction, still not the correct choice though.

mcepl commented 10 years ago

It still uses it ... http://bzr.mozilla.org/bugzilla/trunk/changes