equal
deleted
inserted
replaced
524 is_link = util.linkfunc(self._repo.root, |
524 is_link = util.linkfunc(self._repo.root, |
525 lambda p: flag and 'l' in flag) |
525 lambda p: flag and 'l' in flag) |
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 |
533 if not node or path in self.deleted() or path in self.removed(): |
533 if not node or path in self.deleted() or path in self.removed(): |
534 return '' |
534 return '' |