##// END OF EJS Templates
context: fix workingctx.fileflags() execute bit
Patrick Mezard -
r6679:d286ec1b default
parent child Browse files
Show More
@@ -526,7 +526,7 b' class workingctx(changectx):'
526 is_exec = util.execfunc(self._repo.root,
526 is_exec = util.execfunc(self._repo.root,
527 lambda p: flag and 'x' in flag)
527 lambda p: flag and 'x' in flag)
528 try:
528 try:
529 return (is_link(path) and 'l' or '') + (is_exec(path) and 'e' or '')
529 return (is_link(path) and 'l' or '') + (is_exec(path) and 'x' or '')
530 except OSError:
530 except OSError:
531 pass
531 pass
532
532
General Comments 0
You need to be logged in to leave comments. Login now