mercurial/util.py
changeset 4342 ec64f263e49a
parent 4334 1cc5fc1d0994
parent 4341 f4a1eac52d43
child 4369 d7ad1e42a368
equal deleted inserted replaced
4340:345ed833854d 4342:ec64f263e49a
   764             return False
   764             return False
   765         return True
   765         return True
   766     except:
   766     except:
   767         return True
   767         return True
   768 
   768 
       
   769 _umask = os.umask(0)
       
   770 os.umask(_umask)
       
   771 
   769 def checkexec(path):
   772 def checkexec(path):
   770     """
   773     """
   771     Check whether the given path is on a filesystem with UNIX-like exec flags
   774     Check whether the given path is on a filesystem with UNIX-like exec flags
   772 
   775 
   773     Requires a directory (like /foo/.hg)
   776     Requires a directory (like /foo/.hg)