Merge with Matt
authorBrendan Cully <brendan@kublai.com>
Thu, 12 Apr 2007 16:05:28 -0700
changeset 4342 ec64f263e49a
parent 4340 345ed833854d (current diff)
parent 4341 f4a1eac52d43 (diff)
child 4347 70d1491d3db2
Merge with Matt
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