Show More
@@ -140,7 +140,7 b' class dirstate:' | |||
|
140 | 140 | if state == "r": |
|
141 | 141 | self.map[f] = ('r', 0, 0, 0) |
|
142 | 142 | else: |
|
143 | s = os.stat(os.path.join(self.root, f)) | |
|
143 | s = os.lstat(os.path.join(self.root, f)) | |
|
144 | 144 | st_size = kw.get('st_size', s.st_size) |
|
145 | 145 | st_mtime = kw.get('st_mtime', s.st_mtime) |
|
146 | 146 | self.map[f] = (state, s.st_mode, st_size, st_mtime) |
@@ -272,7 +272,7 b' class dirstate:' | |||
|
272 | 272 | for ff in util.unique(files): |
|
273 | 273 | f = os.path.join(self.root, ff) |
|
274 | 274 | try: |
|
275 | st = os.stat(f) | |
|
275 | st = os.lstat(f) | |
|
276 | 276 | except OSError, inst: |
|
277 | 277 | if ff not in dc: self.ui.warn('%s: %s\n' % ( |
|
278 | 278 | util.pathto(self.getcwd(), ff), |
General Comments 0
You need to be logged in to leave comments.
Login now