##// END OF EJS Templates
cache os.umask even on windows
Alexis S. L. Carvalho -
r4327:aba90193 default
parent child Browse files
Show More
@@ -724,6 +724,9 b' def checkfolding(path):'
724 724 except:
725 725 return True
726 726
727 _umask = os.umask(0)
728 os.umask(_umask)
729
727 730 # Platform specific variants
728 731 if os.name == 'nt':
729 732 demandload(globals(), "msvcrt")
@@ -851,8 +854,6 b" if os.name == 'nt':"
851 854
852 855 else:
853 856 nulldev = '/dev/null'
854 _umask = os.umask(0)
855 os.umask(_umask)
856 857
857 858 def rcfiles(path):
858 859 rcs = [os.path.join(path, 'hgrc')]
General Comments 0
You need to be logged in to leave comments. Login now