[MERGE] Fix non-rich to rich-root fetch

Jelmer Vernooij jelmer at samba.org
Fri Apr 25 22:34:01 BST 2008

Am Freitag, den 25.04.2008, 10:09 -0400 schrieb Aaron Bentley:
> This patch solves all the bugs I know about when fetching from any
> non-rich-root repository into any rich-root repository.  I have used an
> earlier version to successfully convert the Bazaar source tree, which
> has ghosts and unique root ids, into rich-root-pack format.
> It adds some tests that are specific to this scenario to the
> bzrlib/tests/test_fetch.  I did not see any value in adding these to the
> standard interrepository fetch tests.
> It
> - - adds entries in topological order
> - - notes ghost parents correctly in the target*
> - - allows the root-id of a (supposedly non-rich) branch to change
> I have recently learned thing about our SHA1 handling that convince me
> that rich-root-pack is probably a better choice for our next default
> format than the pack-1.5 format I planned.  These changes are one of the
> things that needs to happen before we can do that.
Any chance this can make it into 1.4?


Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org

More information about the bazaar mailing list