Show More
@@ -807,6 +807,9 b' def linkfunc(path, fallback):' | |||||
807 | return lambda x: os.path.islink(os.path.join(path, x)) |
|
807 | return lambda x: os.path.islink(os.path.join(path, x)) | |
808 | return fallback |
|
808 | return fallback | |
809 |
|
809 | |||
|
810 | _umask = os.umask(0) | |||
|
811 | os.umask(_umask) | |||
|
812 | ||||
810 | # Platform specific variants |
|
813 | # Platform specific variants | |
811 | if os.name == 'nt': |
|
814 | if os.name == 'nt': | |
812 | import msvcrt |
|
815 | import msvcrt | |
@@ -933,8 +936,6 b" if os.name == 'nt':" | |||||
933 |
|
936 | |||
934 | else: |
|
937 | else: | |
935 | nulldev = '/dev/null' |
|
938 | nulldev = '/dev/null' | |
936 | _umask = os.umask(0) |
|
|||
937 | os.umask(_umask) |
|
|||
938 |
|
939 | |||
939 | def rcfiles(path): |
|
940 | def rcfiles(path): | |
940 | rcs = [os.path.join(path, 'hgrc')] |
|
941 | rcs = [os.path.join(path, 'hgrc')] |
General Comments 0
You need to be logged in to leave comments.
Login now