[PATCH] -r 10..100 -r date:yesterday

John Arbash Meinel john at arbash-meinel.com
Mon May 30 05:10:22 BST 2005


As discussed, this patch allows revision ranges to be supplied with a 2
period ellipsis. It does away with the {} requirement. It also bundles
the rest of my earlier patch including all of the date:, revid:, etc
namespaces. I also added revno: as a just in case, though it may not be
prefered.

Also, date: now can use a comma or underscore to separate the date from
the time field, so you can do:

    bzr log -r date:2005-05-24,11:55
    bzr log -r "date:2005-05-24 11:55"
    bzr log -r date:2005-05-24_11:55:00

and the special cases of:
    bzr log -r date:yesterday
    bzr log -r date:today
    bzr log -r date:tomorrow

I'm thinking to probably just leave the comma form, because it is simple
and relatively straightforward, I just had difficulty deciding what the
separator should be.

And because it is done at the -r level, it also works for "bzr diff -r
date:yesterday file.foo"

John
=:->

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: revision-uses-elipsis.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20050529/5363a579/attachment.diff 
-------------- 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/20050529/5363a579/attachment.pgp 


More information about the bazaar mailing list