[PATCH] -r 1-100 not -r1:100 please...
John Arbash Meinel
john at arbash-meinel.com
Fri May 27 06:04:39 BST 2005
Rusty Russell wrote:
>OK, you knew this was coming 8)
>
>
>
Check out my latest patch for revision handling. There is a very
specific reason to use ':' instead of '-'. Negative numbers. With my
latest updates you can do:
bzr log -r -5:
Which says print the last 5 logs.
For me, this is the whole reason I did the work. Because Martin says 'I
made some changes', and I want to see what they are, but seeing pages of
scrolling text sucks.
There is also the very convenient
bzr log -r -1
Which will always print the last log. No more needing to do bzr log -r
`bzr revno`.
My latest changes have some other things, but they don't require using
':'. Though I find:
bzr log -r {date:yesterday}:
To be a nice way to get all of the changes since yesterday. But that
*could* be:
bzr log -r {date:yesterday}-
It may not matter as much with log, but this also can work with diff
(especially once diff is patched to support multiple accepting a from
and to revision).
It isn't the end-all be-all, but I do think negative revisions numbers
are a nice thing.
John
=:->
-------------- 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/20050527/709a99f5/attachment.pgp
More information about the bazaar
mailing list