changeset 4345:ec64f263e49a

Merge with Matt
author Brendan Cully <brendan@kublai.com>
date Thu, 12 Apr 2007 16:05:28 -0700
parents 345ed833854d (current diff) f4a1eac52d43 (diff)
children 70d1491d3db2
files mercurial/util.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py	Mon Apr 09 10:39:28 2007 +0200
+++ b/mercurial/util.py	Thu Apr 12 16:05:28 2007 -0700
@@ -766,6 +766,9 @@
     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