Mercurial > hg
changeset 3842:47c634bf1e92
remove unnecessary call to umask
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sat, 09 Dec 2006 18:49:24 +0100 |
parents | aaeb7f5d1052 |
children | abaa2cd00d2b |
files | mercurial/dirstate.py |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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()