[MERGE] BzrDir.destroy_workingtree

Aaron Bentley aaron.bentley at utoronto.ca
Wed Sep 27 22:30:53 BST 2006


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

We need a way to destroy working trees without destroying their
branches, for at least two purposes:
1. removing the working trees in repositories
2. implementing nested-by-value trees

BzrDir supports creating workingtrees, and opening them once created.
So it seems consistent to destroy them that way, too.

What I'm implementing for nested-by-value trees is a 'join' command,
which converts a subtree into part of the larger tree, while preserving
history and setting parent_ids.  As part of the conversion, the subtree
checkout metadata is deleted, while the file contents and branch are
retained.

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

iD8DBQFFGu2N0F+nu1YWqI0RAt68AJ945yNo+Xlx9iLihOlVLvwG4qNCUACZAX6s
XSXVucdb2urCZ01+AU1vugs=
=GM7h
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: destroy_workingtree.patch
Type: text/x-patch
Size: 4502 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060927/559144fd/attachment.bin 


More information about the bazaar mailing list