--- a/mercurial/util.py Mon Oct 05 14:37:59 2015 -0700
+++ b/mercurial/util.py Sun Oct 04 22:25:29 2015 +0900
@@ -952,6 +952,9 @@
except AttributeError:
return os.stat(fp.name)
+def statmtimesec(st):
+ return int(st.st_mtime)
+
# File system features
def checkcase(path):