'baz-import-branch' succeeds, but resulting branch is b0rked
Ben Finney
bignose+hates-spam at benfinney.id.au
Wed Nov 8 09:12:13 GMT 2006
Please don't send followups to me. I read the list via gmane.
Aaron Bentley <aaron.bentley at utoronto.ca> writes:
> Ghosts aren't supposed to be a problem. The Bazaar history has
> ghosts, for example. And our plans for "shallow" branches rely on
> the fact that ghosts are legal. So it appears that fetch is broken.
>
> You asked to import just the branch (rather than doing baz-import).
> So you got just the revisions in that branch, which is consistent
> with the Arch model.
My expectation is that the branch, having been imported, is
self-contained and able to be used independent of anything else.
If I understand correctly, you're saying that it *should* be
self-contained, but "fetch" (what's that?) is having trouble with the
resulting branch.
> Ben Finney wrote:
> > How can I tell bzr to do that? Is there no alternative but to
> > 'baz-import-branch' the *whole* history of *each* branch, just to
> > get the few dozen revisions I need scattered between them?
>
> You shouldn't need them, and we should investigate why fetch is
> trying to retrieve them. But you can use "baz-import" to convert an
> entire archive, and that will only convert each revision once.
Okay, having imported *all* the archives involved with this branch
(over several hours :-/ baz over NFS is teh suck), I still get exactly
the same problem.
=====
$ for a in /arch/{foo-2005,foo-2006,bar,baz} ; do bzr baz-import "$a"/ "$a" ; done
[... several hours later ...]
$ bzr branch foo-2006/c/v/b/ c-b-v/
bzr: ERROR: Revision {Arch-1:foo-2005%c--wibble--v--patch-1} not present in inventory.
$ bzr --version | head -n 1
Bazaar (bzr) 0.10.0
$ aptitude show bzrtools | grep Version:
Version: 0.10.0-2
=====
The 'foo-2005/c--wibble--v' version has been imported along with the
rest of the 'foo-2005' archive, AFAICT. (How can I tell? 'bzr check'
complains there's no WorkingTree for 'foo-2005/c/v/wibble/.bzr/checkout/'.)
What can I do from here?
(Private replies by email are fine, but followups to the list only please.)
More information about the bazaar
mailing list