[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: nvm.dates
From: |
Lapo Luchini |
Subject: |
[Monotone-devel] Re: nvm.dates |
Date: |
Sun, 26 Oct 2008 16:08:01 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.0 |
Markus Wanner wrote:
> Hi,
>
> thank you for your review.
>
> Stephen Leake wrote:
>> So I think keeping date unsigned is ok, but please document this
>> rationale in dates.hh.
>
> Okay, will do.
>
> One reason for using unsigned is that a single $DATE < $MAX is
> sufficient in valid(), whereas with a signed integer we'd have two
> comparisons.
Well the question is: should we allow commits (or rather, imports) to
have a date before year 1970?
(personally I'd use signed for the sake of it, but won't really ever
notice, as I won't be importing anything from the 60s anyway ^_^)
--
Lapo Luchini - http://lapo.it/