[MERGE][1.13] Fix bug when pushing stackable branch in unstackable repo to default-stacking target.

Andrew Bennetts andrew.bennetts at canonical.com
Thu Mar 12 07:48:23 GMT 2009


I'm not sure if this is a regression or not, but the fix is very simple so it
would be nice to have in 1.13.

If you have a stackable-format branch in an unstackable repo (e.g.
BzrBranchFormat7 in RepositoryFormatKnitPack1), and push it to a location with a
default stacking policy, it will fail with:

    bzr: ERROR: The repository ... is not a stackable format. You will need to
    upgrade the repository to permit branch stacking.

This patch fixes that.

-Andrew.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-mixed-stacking-source-formats-4127.patch
Type: text/x-diff
Size: 5666 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090312/b2ef6311/attachment.bin 


More information about the bazaar mailing list