Mercurial > public > mercurial-scm > hg
comparison mercurial/windows.py @ 18868:cafa447a7d3b
util: add functions to check symlink/exec bits
These are not yet used.
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Wed, 03 Apr 2013 11:35:27 -0700 |
parents | 242d2f4ec01c |
children | a6014018ec28 |
comparison
equal
deleted
inserted
replaced
18867:c7e8b143e086 | 18868:cafa447a7d3b |
---|---|
335 return encoding.tolocal(val.encode('UTF-8')) | 335 return encoding.tolocal(val.encode('UTF-8')) |
336 except EnvironmentError: | 336 except EnvironmentError: |
337 pass | 337 pass |
338 | 338 |
339 expandglobs = True | 339 expandglobs = True |
340 | |
341 def statislink(st): | |
342 '''check whether a stat result is a symlink''' | |
343 return False | |
344 | |
345 def statisexec(st): | |
346 '''check whether a stat result is an executable file''' | |
347 return False |