Possible bug in bzr diff

Aaron Bentley aaron.bentley at utoronto.ca
Wed Mar 22 01:22:39 GMT 2006


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

Goffredo Baroncelli wrote:

| Sorry, my patch isn't intended to add support for renaming/moving to the
| *unix* patch command. The aim of the my patch is to make coherent the
bzr diff
| command with itself.

But the bzr diff command attempts to mimic the diff command in almost
every other respect (e.g. useless tabs in the file labels, add/delete
represented as diffs against /dev/null).  So representing renames as
create/delete pairs would be more self-consistent than what you're
suggesting.

| the renaming of a directory is equivalent ( more or less ) to the
renaming of
| every contained files...

In terms of UI, there's a big difference.

| I think that a more powerfoul solution, is to add an option to the
"bzr diff" command
| in order to translate the renaming/moving in a file delete and a file
creation. But this
| is not ( nor was ) the aim of my patch

Okay.  I'm +0 on this, personally.

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

iD8DBQFEIKbe0F+nu1YWqI0RAnbPAJ9FjNmNHEfgUb89va4dr5k4yfgwagCeNpOX
I+PxFMH6xgVKBuj+1fYJx6I=
=FrfC
-----END PGP SIGNATURE-----




More information about the bazaar mailing list