--- a/mercurial/util.py Thu May 03 15:57:12 2018 -0700
+++ b/mercurial/util.py Fri May 11 21:53:26 2018 +0900
@@ -47,7 +47,6 @@
urllibcompat,
)
from .utils import (
- dateutil,
procutil,
stringutil,
)
@@ -2919,6 +2918,7 @@
finally:
elapsed = timer() - start
_timenesting[0] -= indent
+ stderr = procutil.stderr
stderr.write('%s%s: %s\n' %
(' ' * _timenesting[0], func.__name__,
timecount(elapsed)))
@@ -3782,11 +3782,3 @@
if not (byte & 0x80):
return result
shift += 7
-
-defaultdateformats = dateutil.defaultdateformats
-extendeddateformats = dateutil.extendeddateformats
-
-stderr = procutil.stderr
-stdin = procutil.stdin
-stdout = procutil.stdout
-closefds = procutil.closefds