equal
deleted
inserted
replaced
722 orig = self._repo.dirstate.copies().get(path, path) |
722 orig = self._repo.dirstate.copies().get(path, path) |
723 |
723 |
724 def findflag(ctx): |
724 def findflag(ctx): |
725 mnode = ctx.changeset()[0] |
725 mnode = ctx.changeset()[0] |
726 node, flag = self._repo.manifest.find(mnode, orig) |
726 node, flag = self._repo.manifest.find(mnode, orig) |
727 ff = self._repo.dirstate.flagfunc(lambda x: flag or None) |
727 ff = self._repo.dirstate.flagfunc(lambda x: flag or '') |
728 try: |
728 try: |
729 return ff(path) |
729 return ff(path) |
730 except OSError: |
730 except OSError: |
731 pass |
731 pass |
732 |
732 |