error from bzr info

Steve Alexander steve at canonical.com
Wed Sep 20 14:11:39 BST 2006


Hi Bazaar people,

I'm testing out the bzr 0.10-0ubuntu2 pre-release.

Here's an error from running 'bzr info', after I did a pull and then a
revert on a branch.

I saved a tarball of the working tree, in case it needs to be examined
later.

----
bzr: ERROR: bzrlib.errors.NoSuchRevision: Branch
BzrBranch5('file:///srv/launchpad.net/launchpad/') has no revision
pqm at pqm.ubuntu.com-20060824115831-cb77ca85929d1ba2

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 612,
in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 574,
in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 283,
in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 584,
in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 865,
in run
    verbose=verbose)
  File "/usr/lib/python2.4/site-packages/bzrlib/info.py", line 285, in
show_bzrdir_info
    show_tree_info(working, verbose)
  File "/usr/lib/python2.4/site-packages/bzrlib/info.py", line 329, in
show_tree_info
    _show_missing_revisions_working(working)
  File "/usr/lib/python2.4/site-packages/bzrlib/info.py", line 179, in
_show_missing_revisions_working
    tree_last_revno = branch.revision_id_to_revno(tree_last_id)
  File "/usr/lib/python2.4/site-packages/bzrlib/branch.py", line 358, in
revision_id_to_revno
    raise bzrlib.errors.NoSuchRevision(self, revision_id)
NoSuchRevision: Branch
BzrBranch5('file:///srv/launchpad.net/launchpad/') has no revision
pqm at pqm.ubuntu.com-20060824115831-cb77ca85929d1ba2

bzr 0.10.0 on python 2.4.3.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'info']

----

Before getting this error, I got the following when trying to pull some
stuff from a repository into a tree.

--------
stevea at launchpad-test:/srv/launchpad.net/launchpad$ bzr pull ~/launchpad/ui/
bzr: ERROR: Unable to delete transform temporary directory $(limbo_dir)s.
    Please examine /srv/launchpad.net/launchpad/.bzr/checkout/limbo to
see if it contains any files you wish to
    keep, and delete it when you are done.

/usr/lib/python2.4/site-packages/bzrlib/lockable_files.py:110:
UserWarning: file group
LockableFiles(<bzrlib.transport.local.LocalTransport
url=file:///srv/launchpad.net/launchpad/.bzr/checkout/>) was not
explicitly unlocked
  warn("file group %r was not explicitly unlocked" % self)
/usr/lib/python2.4/site-packages/bzrlib/lockable_files.py:110:
UserWarning: file group
LockableFiles(<bzrlib.transport.local.LocalTransport
url=file:///srv/launchpad.net/launchpad/.bzr/branch/>) was not
explicitly unlocked
  warn("file group %r was not explicitly unlocked" % self)
/usr/lib/python2.4/site-packages/bzrlib/lockable_files.py:110:
UserWarning: file group
LockableFiles(<bzrlib.transport.local.LocalTransport
url=file:///srv/launchpad.net/launchpad/.bzr/repository/>) was not
explicitly unlocked
  warn("file group %r was not explicitly unlocked" % self)
--------

I've never heard of the limbo stuff before.

It is annoying that I'm getting these warnings that look identical, but
on closer inspection aren't.

One thing I found confusing, for a moment, was that I removed all the
files from the limbo directory.  And it still considered things to be
"in limbo".  I had to actually remove the directory too.  That felt
weird, because although I might care about the contents of the
directory, I sure don't care about the 'limbo' directory itself.


One possible reason for the problems I described with this branch is
that the original branch was made by rsyncing from a server to a
different machine.  So, it is possible the rsync happened while the
original was being updated.

-- 
Steve Alexander





More information about the bazaar mailing list