diff mercurial/posix.py @ 49971:07792fd1837f

doc: add a few comments
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Wed, 11 Jan 2023 19:53:58 +0000
parents 3fd5824f1177
children 18c8c18993f0
line wrap: on
line diff
--- a/mercurial/posix.py	Thu Jan 05 17:15:03 2023 +0000
+++ b/mercurial/posix.py	Wed Jan 11 19:53:58 2023 +0000
@@ -284,7 +284,7 @@
             else:
                 # checkisexec exists, check if it actually is exec
                 if m & EXECFLAGS != 0:
-                    # ensure checkisexec exists, check it isn't exec
+                    # ensure checknoexec exists, check it isn't exec
                     try:
                         m = os.stat(checknoexec).st_mode
                     except FileNotFoundError: