changeset 4338:8b4d4f84b739

Merge with crew
author Matt Mackall <mpm@selenic.com>
date Thu, 12 Apr 2007 12:42:22 -0500
parents f4a1eac52d43 (diff) 35ad84669ca5 (current diff)
children c593e502f7fd
files mercurial/util.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py	Tue Apr 10 10:34:43 2007 -0700
+++ b/mercurial/util.py	Thu Apr 12 12:42:22 2007 -0500
@@ -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