Mercurial > hg-stable
comparison mercurial/context.py @ 16683:525fdb738975
cleanup: eradicate long lines
author | Brodie Rao <brodie@sf.io> |
---|---|
date | Sat, 12 May 2012 15:54:54 +0200 |
parents | b6081c2c4647 |
children | e7bf09acd410 |
comparison
equal
deleted
inserted
replaced
16676:654b9e1966f7 | 16683:525fdb738975 |
---|---|
231 except KeyError: | 231 except KeyError: |
232 raise error.LookupError(self._node, path, | 232 raise error.LookupError(self._node, path, |
233 _('not found in manifest')) | 233 _('not found in manifest')) |
234 if '_manifestdelta' in self.__dict__ or path in self.files(): | 234 if '_manifestdelta' in self.__dict__ or path in self.files(): |
235 if path in self._manifestdelta: | 235 if path in self._manifestdelta: |
236 return self._manifestdelta[path], self._manifestdelta.flags(path) | 236 return (self._manifestdelta[path], |
237 self._manifestdelta.flags(path)) | |
237 node, flag = self._repo.manifest.find(self._changeset[0], path) | 238 node, flag = self._repo.manifest.find(self._changeset[0], path) |
238 if not node: | 239 if not node: |
239 raise error.LookupError(self._node, path, | 240 raise error.LookupError(self._node, path, |
240 _('not found in manifest')) | 241 _('not found in manifest')) |
241 | 242 |