warning- bzrtools.dev will be broken today

Aaron Bentley aaron.bentley at utoronto.ca
Wed Aug 30 06:21:33 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
> I'm merging the parent-management apis that were approved for 0.11
> today, this will break bzrtools' test suite.
> 
> Just a heads up... I dont have a fixed bzrtools handy just yet, but time
> permitting I'll do a fix for Aaron myself. Aaron, if you want to fix
> this yourself, its quite simple - the special case for when arch history
> is inaccessible just needs to change, rather than setting the
> inaccessible parent as a pending merge, just call
> set_parent_ids([inaccessible_parent_id],
> allow_leftmost_parent_ghost=True).

Thanks for the heads-up.  I took a quick stab at it, but I'm getting
failures bugs where I do checkouts of the null revision:

def create_checkout_metadata(source, to_location, revision_id=None):
    if revision_id is None:
        revision_id = source.last_revision()
    wt = create_checkout(source, to_location, NULL_REVISION)
...

Do you think it's correct to treat the null revision as a ghost?  I
think probably not.  Anyhow, it used to work, and it's not an obvious
bug that it did.  So I think we need a deprecation at least.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE9SBd0F+nu1YWqI0RAiODAJ40uaezb07N9j1SKKJfVVubLpZ6QwCfa2a4
bYRYnUgjnFVTUrrLSZK7l38=
=Hw28
-----END PGP SIGNATURE-----




More information about the bazaar mailing list