# HG changeset patch # User Matt Mackall # Date 1176399742 18000 # Node ID 8b4d4f84b73972e48d1c6272963c4aa5f236c801 # Parent f4a1eac52d43b223658e6ccd092b3b7c521facb3# Parent 35ad84669ca57b75ce3c567cffe0bd8fd702dfa1 Merge with crew diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -766,6 +766,9 @@ def checkfolding(path): except: return True +_umask = os.umask(0) +os.umask(_umask) + def checkexec(path): """ Check whether the given path is on a filesystem with UNIX-like exec flags