"Revision not present" when trying to resume a broken branch
Ben Finney
ben at benfinney.id.au
Mon Apr 14 02:53:00 BST 2008
Howdy all,
I'm trying to branch <URL:http://bzr.bugseverywhere.org/be> into my
local repository, '~/Projects/debian/bugs-everywhere/'.
When I first tried doing this, I had an interruption of service and
the 'bzr' process was killed during the branch operation. (I don't
have any record of the error.)
Now, when I try again to branch into that same location, I get this
error:
Revision {('abentley at panoramicfeedback.com-20060406165406-ff98c84f52a14683',)} not present in "<bzrlib.knit.KnitGraphIndex object at 0xf730f590>".
Yet if I branch from <URL:http://bzr.bugseverywhere.org/be> to some
location *outside* the repository, such as '~/be/', the branch
operation succeeds.
I can even 'rsync -a ~/be ~/Projects/debian/bugs-everywhere/be' and
use the resulting directory as a branch. But its revisions are not in
my repository (of course), and branching from that into my repository
still fails with the above error message.
Here is an example session:
=====
bzr> version
Bazaar (bzr) 1.3
Python interpreter: /usr/bin/python 2.4.5.final.0
Python standard library: /usr/lib/python2.4
bzrlib: /usr/lib/python2.4/site-packages/bzrlib
Bazaar configuration: /home/bignose/.bazaar
Bazaar log file: /home/bignose/.bzr.log
Copyright 2005, 2006, 2007, 2008 Canonical Ltd.
http://bazaar-vcs.org/
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
bzr> cd /home/bignose/
bzr> info .
Not a branch: "/home/bignose/".
bzr> info be/
Standalone tree (format: pack-0.92)
Location:
branch root: be
Related branches:
parent branch: http://bzr.bugseverywhere.org/be/
bzr> check be/
checked branch file:///home/bignose/be/ format Bazaar Branch Format 6 (bzr 0.15)
checked repository <bzrlib.transport.local.LocalTransport url=file:///home/bignose/be/> format <RepositoryFormatKnitPack1>
294 revisions
385 file-ids
751 unique file texts
32674 repeated file texts
0 unreferenced text versions
bzr> cd /home/bignose/Projects/debian/bugs-everywhere/
bzr> info .
Shared repository with trees (format: pack-0.92-subtree)
Location:
shared repository: /home/bignose/Projects
bzr> branch /home/bignose/be/ ./be/
Revision {('abentley at panoramicfeedback.com-20060406165406-ff98c84f52a14683',)} not present in "<bzrlib.knit.KnitGraphIndex object at 0xf67d9810>".
bzr>
=====
How can I fix what is apparently broken in my repository?
--
\ "The way to build large Python applications is to componentize |
`\ and loosely-couple the hell out of everything." -- Aahz |
_o__) |
Ben Finney
More information about the bazaar
mailing list