Bugzilla – Bug 1203317
mercurial-extension-hg-evolve tests fail in 2038
Last modified: 2023-01-08 08:29:27 UTC
To Reproduce osc co openSUSE:Factory/mercurial-extension-hg-evolve && cd $_ osc build --vm-type=kvm --noservice --clean \ --build-opt=--vm-custom-opt="-rtc base=2038-01-20T00:00:00" \ --alternative-project=home:bmwiedemann:reproducible openSUSE_Tumbleweed Actual Results: $ hg amend -D + hg: parse error: date exceeds 32 bits: 2168745807 This might need an upstream fix. See also https://en.wikipedia.org/wiki/Year_2038_problem
This probably needs a fix in https://foss.heptapod.net/mercurial/mercurial-devel/-/blob/branch/default/mercurial/utils/dateutil.py#L300 maybe a leftover from python2 (now obsolete)
also filed upstream: https://bz.mercurial-scm.org/show_bug.cgi?id=6778