[PATCH] Allow commit date before Unix epoch

Yuya Nishihara yuya at tcha.org
Thu Mar 31 09:18:10 EDT 2016


On Tue, 29 Mar 2016 02:55:52 +0200, Florent Gallaire wrote:
> # HG changeset patch
> # User Florent Gallaire <fgallaire at gmail.com>
> # Date 1459212616 -7200
> #      Tue Mar 29 02:50:16 2016 +0200
> # Node ID ece34634e504271cf2a1dc696a2a0486a8b13488
> # Parent  0e330d7d9f53fc37cbeee8d1389a06465eca2241
> date: allow negative timestamp
> 
> DCVS are very useful to store various texts (as legislation) written before
> Unix epoch. Fri, 13 Dec 1901 is a nice gain over Thu, 01 Jan 1970.

IMHO, negative date is harmful rather than useful. Also, there was a problem
on Windows.

https://bz.mercurial-scm.org/show_bug.cgi?id=2513


More information about the Mercurial-devel mailing list