Show More
@@ -154,11 +154,14 class dirstate(object): | |||||
154 | def flagfunc(self, buildfallback): |
|
154 | def flagfunc(self, buildfallback): | |
155 | if self._checklink and self._checkexec: |
|
155 | if self._checklink and self._checkexec: | |
156 | def f(x): |
|
156 | def f(x): | |
157 |
|
|
157 | try: | |
158 |
|
|
158 | st = os.lstat(self._join(x)) | |
|
159 | if util.statislink(st): | |||
159 | return 'l' |
|
160 | return 'l' | |
160 |
if util.isexec( |
|
161 | if util.statisexec(st): | |
161 | return 'x' |
|
162 | return 'x' | |
|
163 | except OSError: | |||
|
164 | pass | |||
162 | return '' |
|
165 | return '' | |
163 | return f |
|
166 | return f | |
164 |
|
167 |
General Comments 0
You need to be logged in to leave comments.
Login now