##// 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,11 +357,12 b' class filectx(object):'
357 357
358 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 or self.size() == fctx.size()):
362 return self._filelog.cmp(self._filenode, fctx.data())
363
361 364 return True
362 365
363 return self._filelog.cmp(self._filenode, fctx.data())
364
365 366 def renamed(self):
366 367 """check if file was actually renamed in this changeset revision
367 368
General Comments 0
You need to be logged in to leave comments. Login now