author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
Sat, 09 Dec 2006 18:49:24 +0100 | |
changeset 3842 | 47c634bf1e92 |
parent 3841 | aaeb7f5d1052 |
child 3843 | abaa2cd00d2b |
--- a/mercurial/dirstate.py Sat Dec 09 14:19:52 2006 +0100 +++ b/mercurial/dirstate.py Sat Dec 09 18:49:24 2006 +0100 @@ -286,13 +286,11 @@ def rebuild(self, parent, files): self.clear() - umask = os.umask(0) - os.umask(umask) for f in files: if files.execf(f): - self.map[f] = ('n', ~umask, -1, 0) + self.map[f] = ('n', 0777, -1, 0) else: - self.map[f] = ('n', ~umask & 0666, -1, 0) + self.map[f] = ('n', 0666, -1, 0) self.pl = (parent, nullid) self.markdirty()