equal
deleted
inserted
replaced
355 def cmp(self, fctx): |
355 def cmp(self, fctx): |
356 """compare with other file context |
356 """compare with other file context |
357 |
357 |
358 returns True if different than fctx. |
358 returns True if different than fctx. |
359 """ |
359 """ |
|
360 if not self._repo._encodefilterpats and self.size() != fctx.size(): |
|
361 return True |
|
362 |
360 return self._filelog.cmp(self._filenode, fctx.data()) |
363 return self._filelog.cmp(self._filenode, fctx.data()) |
361 |
364 |
362 def renamed(self): |
365 def renamed(self): |
363 """check if file was actually renamed in this changeset revision |
366 """check if file was actually renamed in this changeset revision |
364 |
367 |