--- a/mercurial/dirstate.py Thu Oct 09 10:29:47 2008 -0400
+++ b/mercurial/dirstate.py Sat Oct 18 04:26:06 2008 -0500
@@ -254,7 +254,7 @@
self._dirty = True
self._addpath(f)
s = os.lstat(self._join(f))
- self._map[f] = ('n', s.st_mode, s.st_size, s.st_mtime)
+ self._map[f] = ('n', s.st_mode, s.st_size, int(s.st_mtime))
if f in self._copymap:
del self._copymap[f]
@@ -317,7 +317,7 @@
self._dirty = True
s = os.lstat(self._join(f))
self._addpath(f)
- self._map[f] = ('m', s.st_mode, s.st_size, s.st_mtime)
+ self._map[f] = ('m', s.st_mode, s.st_size, int(s.st_mtime))
if f in self._copymap:
del self._copymap[f]