equal
deleted
inserted
replaced
787 returns True if different than fctx. |
787 returns True if different than fctx. |
788 """ |
788 """ |
789 if fctx._customcmp: |
789 if fctx._customcmp: |
790 return fctx.cmp(self) |
790 return fctx.cmp(self) |
791 |
791 |
792 if (fctx._filerev is None |
792 if (fctx._filenode is None |
793 and (self._repo._encodefilterpats |
793 and (self._repo._encodefilterpats |
794 # if file data starts with '\1\n', empty metadata block is |
794 # if file data starts with '\1\n', empty metadata block is |
795 # prepended, which adds 4 bytes to filelog.size(). |
795 # prepended, which adds 4 bytes to filelog.size(). |
796 or self.size() - 4 == fctx.size()) |
796 or self.size() - 4 == fctx.size()) |
797 or self.size() == fctx.size()): |
797 or self.size() == fctx.size()): |