##// END OF EJS Templates
dirstate: always add times to map as integers...
Matt Mackall -
r7119:50f4e866 default
parent child Browse files
Show More
@@ -254,7 +254,7 b' class dirstate(object):'
254 self._dirty = True
254 self._dirty = True
255 self._addpath(f)
255 self._addpath(f)
256 s = os.lstat(self._join(f))
256 s = os.lstat(self._join(f))
257 self._map[f] = ('n', s.st_mode, s.st_size, s.st_mtime)
257 self._map[f] = ('n', s.st_mode, s.st_size, int(s.st_mtime))
258 if f in self._copymap:
258 if f in self._copymap:
259 del self._copymap[f]
259 del self._copymap[f]
260
260
@@ -317,7 +317,7 b' class dirstate(object):'
317 self._dirty = True
317 self._dirty = True
318 s = os.lstat(self._join(f))
318 s = os.lstat(self._join(f))
319 self._addpath(f)
319 self._addpath(f)
320 self._map[f] = ('m', s.st_mode, s.st_size, s.st_mtime)
320 self._map[f] = ('m', s.st_mode, s.st_size, int(s.st_mtime))
321 if f in self._copymap:
321 if f in self._copymap:
322 del self._copymap[f]
322 del self._copymap[f]
323
323
General Comments 0
You need to be logged in to leave comments. Login now