##// END OF EJS Templates
context: narrow down filter special case in filectx.cmp()...
Christian Ebert -
r12731:95514b58 default
parent child Browse files
Show More
@@ -357,10 +357,11 b' class filectx(object):'
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():
360 if (fctx._filerev is None and self._repo._encodefilterpats
361 return True
361 or self.size() == fctx.size()):
362 return self._filelog.cmp(self._filenode, fctx.data())
362
363
363 return self._filelog.cmp(self._filenode, fctx.data())
364 return True
364
365
365 def renamed(self):
366 def renamed(self):
366 """check if file was actually renamed in this changeset revision
367 """check if file was actually renamed in this changeset revision
General Comments 0
You need to be logged in to leave comments. Login now