Bug while moving directories

Aaron Bentley aaron.bentley at utoronto.ca
Tue Aug 16 15:40:19 BST 2005


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

Gustavo Niemeyer wrote:

>>Moving the tree root is not currently supported, so that should
>>produce assertion failures.
> 
> 
> And not meaningful, if I understood it correctly.

It is meaningful, but it definitely falls under "advanced usage".

>>The code does look buggy to me, but the bug is that if you do
> 
> [...]
> 
>>Then it won't recognize that the current foo is different from the
>>original foo.
> 
> 
> I got into that issue simply by moving an existent directory
> into another existent directory (plugins/ => bzrlib/plugins/),
> committing, and merging the change into another local tree.

> Your version works fine in the test I just did.

Good to hear.  Thanks for the example, I'll add a test case for that.

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

iD8DBQFDAfrT0F+nu1YWqI0RArmfAJ0Ysy8jrAW2zuaC4StHfw4/SdpgqgCeI2Rj
FDSy64dw5W1jNtSqWIjZOTY=
=y1+r
-----END PGP SIGNATURE-----




More information about the bazaar mailing list