Feature Request: 'bzr mv --after' to tell bzr that file(s) have already been moved in the working tree
Aaron Bentley
aaron.bentley at utoronto.ca
Fri Nov 3 14:18:21 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hanns-Steffen Eichenberg wrote:
> An automatic detection of moved files would be great, but i think you
> have to have an explicit option in addition. Why? When refactoring Java
> Code (rename a class, for example), the name of the file AND the file
> content changes simultaneously. It is an atomic operation from within
> Eclipse (and all other major Java IDEs). How can this be later detected
> by an algorithm?
Oh, not based on content. Just:
if (source path doesn't exist, and
target path does exist, and
source path is versioned and
target path is not versioned)
then move the file_id, without moving the file.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFFS0+t0F+nu1YWqI0RAnNVAJ9fO7JSIsfdknf+HxYhAbVTJn5lrQCfay7t
YLtIt1cP62QwYI2fYUt14l8=
=b3JN
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list