equal
deleted
inserted
replaced
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) |