cannot branch some branches, but message means nothing to me

Bug #888841 reported by Al Stone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

If I try the following, I get a very odd message:

$ bzr branch lp:ubuntu/oneiric/sqlite3 sqlite3-oneiric.bzr
bzr: ERROR: Revision {<email address hidden>} not present in "Graph(StackedParentsProvider(bzrlib.repository._LazyListJoin(([CachingParentsProvider(None)], []))))".

and of course, there is no branch created. I've also seen this with lp:ubuntu/oneiric/eglibc, though someone else's name is reported.

This is running Oneiric, and bzr 2.4.2-0ubuntu1. The ~/.bzr.log follows:

Thu 2011-11-10 17:53:30 -0700
0.033 bazaar version: 2.4.2
0.033 bzr arguments: [u'branch', u'lp:ubuntu/oneiric/sqlite3', u'sqlite3-oneiric.bzr']
0.052 looking for plugins in /home/ahs3/.bazaar/plugins
0.055 looking for plugins in /usr/lib/python2.7/dist-packages/bzrlib/plugins
0.071 encoding stdout as sys.stdout encoding 'UTF-8'
0.119 ssh implementation is OpenSSH
5.226 LatestPublication.get_latest_version took: 0.813s
5.511 LatestPublication.get_tag_dict took: 0.285s
5.806 Transferred: 7kB (1.2kB/s r:6kB w:1kB)
5.815 Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 946, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1263, in run
    from_location)
  File "/usr/lib/python2.7/dist-packages/bzrlib/bzrdir.py", line 919, in open_tree_or_branch
    return bzrdir._get_tree_branch()
  File "/usr/lib/python2.7/dist-packages/bzrlib/remote.py", line 569, in _get_tree_branch
    return None, self.open_branch(name=name)
  File "/usr/lib/python2.7/dist-packages/bzrlib/remote.py", line 591, in open_branch
    setup_stacking=not ignore_fallbacks, name=name)
  File "/usr/lib/python2.7/dist-packages/bzrlib/remote.py", line 2543, in __init__
    hook(self)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/__init__.py", line 515, in _check_is_up_to_date
    lp_api_lite.report_freshness(the_branch, verbosity, latest_pub)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/lp_api_lite.py", line 283, in report_freshness
    latest_ver, branch_ver = _get_newest_versions(the_branch, latest_pub)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/lp_api_lite.py", line 231, in _get_newest_versions
    best_tag = get_most_recent_tag(tags, the_branch)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/lp_api_lite.py", line 201, in get_most_recent_tag
    for rev_id in graph.iter_lefthand_ancestry(last_rev, stop_revisions):
  File "/usr/lib/python2.7/dist-packages/bzrlib/graph.py", line 1002, in iter_lefthand_ancestry
    parents = get_parents(next_key)
  File "/usr/lib/python2.7/dist-packages/bzrlib/graph.py", line 998, in get_parents
    raise errors.RevisionNotPresent(next_key, self)
RevisionNotPresent: Revision {<email address hidden>} not present in "Graph(StackedParentsProvider(bzrlib.repository._LazyListJoin(([CachingParentsProvider(None)], []))))".

5.815 return code 3

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 888841] [NEW] cannot branch some branches, but message means nothing to me

  duplicate 848064

this is a (critical) bug in the importer

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.