Revision spec issues
John A Meinel
john at arbash-meinel.com
Thu Feb 16 04:13:17 GMT 2006
Robey Pointer wrote:
> On 14 Feb 2006, at 7:19, John A Meinel wrote:
>
>> I agree that the date: markers probably need some work. I don't know
>> anyone who is using them. When I originally wrote them 'yesterday',
>> 'today' and 'tomorrow' where defined as exact timestamps, and then the +
>> would search for something *after* that timestamp, and the - for
>> something before that timestamp. So doing date:-today, could go back a
>> few days until it found the first thing before 12:01am this morning.
>
> The concept of a revision matching "date:tomorrow" has always made my
> head explode. Is it meant as a long-cut for "-1"? Or a way to detect
> if your computer's ntp server is broken? ;)
>
> robey
>
>
Well, as I mentioned 'today' was defined as 12am this morning.
'tomorrow' was then 12am tomorrow morning (== midnight tonight).
So then you could do 'date:-tomorrow' to indicate you wanted something
before tomorrow (ie today).
This wasn't great UI, but it was a very exact syntax. Though not
necessarily what the user might expect.
Also, you could always get a date:tomorrow if your computer thought
differently about time than someone else's. (Or if you think about time
zones).
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060215/ec99388d/attachment.pgp
More information about the bazaar
mailing list