Patchwork D2697: util: stop calling os.stat_float_times()

login
register
mail settings
Submitter phabricator
Date March 8, 2018, 1:06 p.m.
Message ID <43a34678da704183fdd3200f51582f4e@localhost.localdomain>
Download mbox | patch
Permalink /patch/29127/
State Not Applicable
Headers show

Comments

phabricator - March 8, 2018, 1:06 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG86ba6e3eba4e: util: stop calling os.stat_float_times() (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2697?vs=6657&id=6729

REVISION DETAIL
  https://phab.mercurial-scm.org/D2697

AFFECTED FILES
  mercurial/util.py

CHANGE DETAILS




To: durin42, #hg-reviewers, yuja
Cc: mercurial-devel

Patch

diff --git a/mercurial/util.py b/mercurial/util.py
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -176,11 +176,6 @@ 
 
 _notset = object()
 
-# disable Python's problematic floating point timestamps (issue4836)
-# (Python hypocritically says you shouldn't change this behavior in
-# libraries, and sure enough Mercurial is not a library.)
-os.stat_float_times(False)
-
 def safehasattr(thing, attr):
     return getattr(thing, attr, _notset) is not _notset