Comment 1 for bug 57664

Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 57664] bundle -r should be consistent with diff

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

Martin Pool wrote:
> Public bug reported:
>
> "bzr bundle" produces what is basically an enhanced diff. One would
> tend to expect the commands work similarly, but they're quite different
> in how they handle -r.

On the other hand, they have very different purposes. 'diff' is
typically used to remind yourself of the changes you have made, while
you're working.

'bundle' is used to present your committed changes to the world in a
form that can be merged directly. Following 'diff' behaviour would
typically produce bundles that couldn't be merged directly, because they
would lack necessary ancestor revisions.

That was my rationale for making 'bundle' different from 'diff'.

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

iD8DBQFE7xto0F+nu1YWqI0RAsU2AJ9VW0n5ezkLGAbA+sVBdNdilSYiagCcClt7
e3nNo2H4VzqQ+Q//JqJXSow=
=gdty
-----END PGP SIGNATURE-----