[Patch] Support for multiple revisions for diff command

Johan Rydberg jrydberg at gnu.org
Wed May 11 02:35:47 BST 2005


John A Meinel <john at arbash-meinel.com> writes:

>> It's a little counter intertuitive (perhaps) but to get the diff for revno
>> 440 you have to run 'bzr diff -r 439 -r2 440'.
>
> Why not use one of the other syntaxes. Such as
>
> bzr diff ./@439 ./@440
> bzr diff @439 @440
> (mabye bzr diff 439 440 but these could be filenames)
> bzr diff -r 439:440
> etc.

Using -r and -r2, besides looking horrible, must also break the short 
option patch.

Anyway, I vote for the @-case. e.g., bzr diff foo at X bar at Y

~j





More information about the bazaar mailing list