equal
deleted
inserted
replaced
481 except KeyError: |
481 except KeyError: |
482 return '' |
482 return '' |
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: |
491 pass |
491 pass |
492 |
492 |