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