diff between two revisions

John A Meinel john at arbash-meinel.com
Sun Jul 10 04:40:12 BST 2005


Robey Pointer wrote:
>
> On 9 Jul 2005, at 13:54, Robey Pointer wrote:
>
>> ...Or I could just try this post-coffee and see the obvious bug & fix.
>
>
> I'm going to pull a John here and reply to myself with a better  patch.
> This one adds a tiny bit of documentation about -r for diff,  and makes
> it work the way it's described in commands.py:
>
Thanks for the mention. :) Sometimes this list can indeed take a while
to respond when you are actively working on something.

> no -r = last checkout -> working tree
> -r N (or) -r N: = rev N -> working tree
> -r :N = rev 0 -> rev N
> -r M:N = rev M -> rev N
>
> robey

I don't think your patch is quite right, as you are setting "oldrev =
int" not a number, but the type "int".

Attached is my version of it which should fix the last little bits.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff-takes-range.patch
Type: text/x-patch
Size: 2829 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050709/972b0eba/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050709/972b0eba/attachment.pgp 


More information about the bazaar mailing list