[patch] commit timestamp incorrectly cast if specified

John A Meinel john at arbash-meinel.com
Tue Jan 17 15:24:27 GMT 2006


Denys Duchier wrote:
> John A Meinel <john at arbash-meinel.com> writes:
> 
>> I agree. I'm not sure why we would have used long(), maybe it makes the
>> test suite easier to run.
> 
> Hashcache uses int(time.time()) to loose precision on purpose so that timestamps
> can be (more) safely distinguished.  If there was a similar reason at work here,
> then the "else:" should be removed.
> 
> --Denys

I'm not sure why we would need higher resolution than 1s for a revision
entry. I would be okay with dropping the sub-second resolution, since it
doesn't really mean anything anyway.

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/20060117/154b6477/attachment.pgp 


More information about the bazaar mailing list