Mercurial > public > mercurial-scm > hg
comparison mercurial/util.py @ 4345:ec64f263e49a
Merge with Matt
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Thu, 12 Apr 2007 16:05:28 -0700 |
parents | f4a1eac52d43 1cc5fc1d0994 |
children | d7ad1e42a368 |
comparison
equal
deleted
inserted
replaced
4344:345ed833854d | 4345: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) |