equal
deleted
inserted
replaced
198 return self._filelog |
198 return self._filelog |
199 elif name == '_changeid': |
199 elif name == '_changeid': |
200 if '_changectx' in self.__dict__: |
200 if '_changectx' in self.__dict__: |
201 self._changeid = self._changectx.rev() |
201 self._changeid = self._changectx.rev() |
202 else: |
202 else: |
203 self._changeid = self._filelog.linkrev(self._filenode) |
203 self._changeid = self._filelog.linkrev(self._filerev) |
204 return self._changeid |
204 return self._changeid |
205 elif name == '_filenode': |
205 elif name == '_filenode': |
206 if '_fileid' in self.__dict__: |
206 if '_fileid' in self.__dict__: |
207 self._filenode = self._filelog.lookup(self._fileid) |
207 self._filenode = self._filelog.lookup(self._fileid) |
208 else: |
208 else: |
261 def rev(self): |
261 def rev(self): |
262 if '_changectx' in self.__dict__: |
262 if '_changectx' in self.__dict__: |
263 return self._changectx.rev() |
263 return self._changectx.rev() |
264 if '_changeid' in self.__dict__: |
264 if '_changeid' in self.__dict__: |
265 return self._changectx.rev() |
265 return self._changectx.rev() |
266 return self._filelog.linkrev(self._filenode) |
266 return self._filelog.linkrev(self._filerev) |
267 |
267 |
268 def linkrev(self): return self._filelog.linkrev(self._filenode) |
268 def linkrev(self): return self._filelog.linkrev(self._filerev) |
269 def node(self): return self._changectx.node() |
269 def node(self): return self._changectx.node() |
270 def user(self): return self._changectx.user() |
270 def user(self): return self._changectx.user() |
271 def date(self): return self._changectx.date() |
271 def date(self): return self._changectx.date() |
272 def files(self): return self._changectx.files() |
272 def files(self): return self._changectx.files() |
273 def description(self): return self._changectx.description() |
273 def description(self): return self._changectx.description() |
645 filelog=self._filelog) |
645 filelog=self._filelog) |
646 |
646 |
647 def rev(self): |
647 def rev(self): |
648 if '_changectx' in self.__dict__: |
648 if '_changectx' in self.__dict__: |
649 return self._changectx.rev() |
649 return self._changectx.rev() |
650 return self._filelog.linkrev(self._filenode) |
650 return self._filelog.linkrev(self._filerev) |
651 |
651 |
652 def data(self): return self._repo.wread(self._path) |
652 def data(self): return self._repo.wread(self._path) |
653 def renamed(self): |
653 def renamed(self): |
654 rp = self._repopath |
654 rp = self._repopath |
655 if rp == self._path: |
655 if rp == self._path: |