How do we fix 288751?

James Westby jw+debian at jameswestby.net
Tue Nov 11 20:58:09 GMT 2008


On Tue, 2008-11-11 at 13:56 -0500, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'm trying to fix 288751.  280595 has the same root cause.
> 
> When we autopack, we fail if there are external compression references.
>   This is in accord with doc/developers/overview.txt, which states:
> "Compression deltas don't span physical repository boundaries"
> 
> But stacking seems to create branches where there are external
> compression references.  I have an example here, but it is confidential
> code.  I do not know the mechanism yet, but it's probably either commit
> or fetch.

https://code.edge.launchpad.net/~james-w/bzr-builddeb/test exhibits the
problem.

I believe it is fetch, but I could be wrong.

I found another way to reproduce, branch, commit, push to a new branch
stacked on the one branched from, and it shows the problem.

The clone of the local repo just pushes the new revision, but deltas on
the parent that is in the stacked-on branch. If we want to maintain
the above invariant, then the clone must fetch the compression parents
as well.

Thanks,

James




More information about the bazaar mailing list