##// END OF EJS Templates
Fix bad lambda prototype in workingctx.fileflags()
Patrick Mezard -
r5399:18f8abef default
parent child Browse files
Show More
@@ -483,8 +483,8 b' class workingctx(changectx):'
483
483
484 pnode = self._parents[0].changeset()[0]
484 pnode = self._parents[0].changeset()[0]
485 node, flag = self._repo.manifest.find(pnode, path)
485 node, flag = self._repo.manifest.find(pnode, path)
486 is_link = util.linkfunc(self._repo.root, lambda: 'l' in flag)
486 is_link = util.linkfunc(self._repo.root, lambda p: 'l' in flag)
487 is_exec = util.execfunc(self._repo.root, lambda: 'x' in flag)
487 is_exec = util.execfunc(self._repo.root, lambda p: 'x' in flag)
488 try:
488 try:
489 return (is_link(path) and 'l' or '') + (is_exec(path) and 'e' or '')
489 return (is_link(path) and 'l' or '') + (is_exec(path) and 'e' or '')
490 except OSError:
490 except OSError:
General Comments 0
You need to be logged in to leave comments. Login now