Show More
@@ -702,6 +702,10 b' class basefilectx(object):' | |||||
702 | if fctx._customcmp: |
|
702 | if fctx._customcmp: | |
703 | return fctx.cmp(self) |
|
703 | return fctx.cmp(self) | |
704 |
|
704 | |||
|
705 | if self._filenode is None: | |||
|
706 | raise error.ProgrammingError( | |||
|
707 | 'filectx.cmp() must be reimplemented if not backed by revlog') | |||
|
708 | ||||
705 | if fctx._filenode is None: |
|
709 | if fctx._filenode is None: | |
706 | if self._repo._encodefilterpats: |
|
710 | if self._repo._encodefilterpats: | |
707 | # can't rely on size() because wdir content may be decoded |
|
711 | # can't rely on size() because wdir content may be decoded |
General Comments 0
You need to be logged in to leave comments.
Login now