diff -r 93a4e72b4f83 -r f9cd48bd8625 mercurial/util.py --- a/mercurial/util.py Sat Apr 28 17:55:45 2007 -0300 +++ b/mercurial/util.py Sat Apr 28 17:55:45 2007 -0300 @@ -764,9 +764,6 @@ 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