Show More
@@ -149,10 +149,10 b' class filectx(object):' | |||||
149 | self._changeid = self._filelog.linkrev(self._filenode) |
|
149 | self._changeid = self._filelog.linkrev(self._filenode) | |
150 | return self._changeid |
|
150 | return self._changeid | |
151 | elif name == '_filenode': |
|
151 | elif name == '_filenode': | |
152 |
|
|
152 | if '_fileid' in self.__dict__: | |
153 |
|
|
153 | self._filenode = self._filelog.lookup(self._fileid) | |
154 |
|
|
154 | else: | |
155 |
|
|
155 | self._filenode = self._changectx.filenode(self._path) | |
156 | return self._filenode |
|
156 | return self._filenode | |
157 | elif name == '_filerev': |
|
157 | elif name == '_filerev': | |
158 | self._filerev = self._filelog.rev(self._filenode) |
|
158 | self._filerev = self._filelog.rev(self._filenode) |
General Comments 0
You need to be logged in to leave comments.
Login now