Mercurial > public > mercurial-scm > hg
diff mercurial/windows.py @ 13879:5b0a3f6cbead
util: move checkexec() to posix.py and return False on Windows
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Mon, 04 Apr 2011 11:41:54 +0200 |
parents | f6e5035dc81a |
children | 31eb145b50b6 |
line wrap: on
line diff
--- a/mercurial/windows.py Mon Apr 04 16:21:59 2011 -0500 +++ b/mercurial/windows.py Mon Apr 04 11:41:54 2011 +0200 @@ -132,6 +132,9 @@ def set_flags(f, l, x): pass +def checkexec(path): + return False + def set_binary(fd): # When run without console, pipes may expose invalid # fileno(), usually set to -1.