Show More
@@ -286,13 +286,11 b' class dirstate(object):' | |||||
286 |
|
286 | |||
287 | def rebuild(self, parent, files): |
|
287 | def rebuild(self, parent, files): | |
288 | self.clear() |
|
288 | self.clear() | |
289 | umask = os.umask(0) |
|
|||
290 | os.umask(umask) |
|
|||
291 | for f in files: |
|
289 | for f in files: | |
292 | if files.execf(f): |
|
290 | if files.execf(f): | |
293 |
self.map[f] = ('n', |
|
291 | self.map[f] = ('n', 0777, -1, 0) | |
294 | else: |
|
292 | else: | |
295 |
self.map[f] = ('n', |
|
293 | self.map[f] = ('n', 0666, -1, 0) | |
296 | self.pl = (parent, nullid) |
|
294 | self.pl = (parent, nullid) | |
297 | self.markdirty() |
|
295 | self.markdirty() | |
298 |
|
296 |
General Comments 0
You need to be logged in to leave comments.
Login now