[MERGE] ParentProvider.get_parent_map()

John Arbash Meinel john at arbash-meinel.com
Tue Dec 18 17:23:44 GMT 2007


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

This updates all current parent providers to supply a 'get_parent_map()' function.

It also adds CachingParentProvider and several "XFAIL" tests.

It doesn't do any of the actual heads() or find_difference changes. I'm trying
to break down my overall changes into simpler updates.

I'll post a heads() fix next, and then finish up find_difference. I think I
have "correct" code now, but when I went to performance test it, it was *slow*.
It might just be our bzr.dev history being that crazy, so it has to search back
to NULL all the time.

I was thinking to deprecate "get_parents" on all of them, but that has to wait
until the "one_one" deprecation strings go in.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHaAIgJdeBCYSNAAMRApNhAKDHp7lea+dPi41wFZcVhc6Qp8fm3gCeNo9T
2ANqDt/t5Q6gIpIi/9DpzxM=
=ochx
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: graph_optimization_1.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20071218/72c24af8/attachment-0001.diff 


More information about the bazaar mailing list