Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/util.py @ 4343:8b4d4f84b739
Merge with crew
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 12 Apr 2007 12:42:22 -0500 |
parents | 1cc5fc1d0994 f4a1eac52d43 |
children | d7ad1e42a368 |
line wrap: on
line diff
--- a/mercurial/util.py +++ b/mercurial/util.py @@ -807,6 +807,9 @@ def linkfunc(path, fallback): return lambda x: os.path.islink(os.path.join(path, x)) return fallback +_umask = os.umask(0) +os.umask(_umask) + # Platform specific variants if os.name == 'nt': import msvcrt @@ -933,8 +936,6 @@ if os.name == 'nt': else: nulldev = '/dev/null' - _umask = os.umask(0) - os.umask(_umask) def rcfiles(path): rcs = [os.path.join(path, 'hgrc')]