##// END OF EJS Templates
dirstate: add doesn't need to call stat
Matt Mackall -
r4911:8b6efc8f default
parent child Browse files
Show More
@@ -217,8 +217,7 b' class dirstate(object):'
217 217 'mark a file added'
218 218 self._dirty = True
219 219 self._incpathcheck(f)
220 s = os.lstat(self._join(f))
221 self._map[f] = ('a', s.st_mode, s.st_size, s.st_mtime)
220 self._map[f] = ('a', 0, -1, -1)
222 221 if f in self._copymap:
223 222 del self._copymap[f]
224 223
General Comments 0
You need to be logged in to leave comments. Login now