[MERGE] don't invoke os.rename on children with no contents

Aaron Bentley aaron.bentley at utoronto.ca
Wed Jun 6 05:23:43 BST 2007


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

John Arbash Meinel wrote:
> John Arbash Meinel has voted +1.
> Status is now: Approved
> Comment:
> when are things canceled?

It looks like the only use in the core code is Merge3Merger.fix_root.
When a merge tries to produce a tree with two roots, we move the new
root's children into the current root, then cancel the new root.

It is also used in the three-way-merge tests in
test_merge_core.MergeBuilder.

I thought we could also do it during conflict resolution, but I guess I
was wrong.

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

iD8DBQFGZjbP0F+nu1YWqI0RAtDUAJ99yiIajBJIroj0Z1Y3h+SZDeBcuQCffaXJ
aQJ3b6n9FIGUZrIwMtGLrMQ=
=WgV+
-----END PGP SIGNATURE-----



More information about the bazaar mailing list