mercurial/util.py
changeset 4386 f9cd48bd8625
parent 4377 e33ad7cea15f
child 4405 f97b89314fb3
equal deleted inserted replaced
4385:93a4e72b4f83 4386:f9cd48bd8625
   762             return False
   762             return False
   763         return True
   763         return True
   764     except:
   764     except:
   765         return True
   765         return True
   766 
   766 
   767 _umask = os.umask(0)
       
   768 os.umask(_umask)
       
   769 
       
   770 def checkexec(path):
   767 def checkexec(path):
   771     """
   768     """
   772     Check whether the given path is on a filesystem with UNIX-like exec flags
   769     Check whether the given path is on a filesystem with UNIX-like exec flags
   773 
   770 
   774     Requires a directory (like /foo/.hg)
   771     Requires a directory (like /foo/.hg)