[PATCH 2 of 2] Allow commit date before Unix epoch, clean fix for (issue2513)
timeless
timeless at gmail.com
Fri Apr 1 14:35:48 EDT 2016
First, this really needs tests.
Second, this really needs tests of convert (and churn).
FWIW, In theory the Windows FILETIME structure supports Jan 1, 1601 [1].
But there should be quite a few tests:
1500
1600
1700
1800
1900
1960
1970
1972
(something like that).
[1] https://support.microsoft.com/en-ca/kb/188768
On Fri, Apr 1, 2016 at 1:21 PM, Sean Farley <sean at farley.io> wrote:
>
> Florent Gallaire <fgallaire at gmail.com> writes:
>
>> # HG changeset patch
>> # User Florent Gallaire <fgallaire at gmail.com>
>> # Date 1459475770 -7200
>> # Fri Apr 01 03:56:10 2016 +0200
>> # Node ID 7f6081a0fc762d2d17bcfb4a5ab77d1ac57a2199
>> # Parent ece34634e504271cf2a1dc696a2a0486a8b13488
>> date: clean fix for Windows buggy gmtime() (issue2513)
>
> If this fixes the negative timestamp issue on Windows, then it seems to
> me it'd be cool to have dates < 1970, yes?
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list