Mercurial > hg
comparison mercurial/bundlerepo.py @ 30375:11b8b740d54a
manifest: remove last uses of repo.manifest
Now that all the functionality has been moved to manifestlog/manifestrevlog/etc,
we can finally change all the uses of repo.manifest to use the new versions. A
future diff will then delete repo.manifest.
One additional change in this commit is to change repo.manifestlog to be a
@storecache property instead of @property. This is required by some uses of
repo.manifest require that it be settable (contrib/perf.py and the static http
server). We can't do this in a prior change because we can't use @storecache on
this until repo.manifest is no longer used anywhere.
author | Durham Goode <durham@fb.com> |
---|---|
date | Thu, 10 Nov 2016 02:13:19 -0800 |
parents | 31de088945cd |
children | 20a42325fdef |
comparison
equal
deleted
inserted
replaced
30374:f2d146d1e8d6 | 30375:11b8b740d54a |
---|---|
357 self.changelog | 357 self.changelog |
358 return self.manstart | 358 return self.manstart |
359 | 359 |
360 @localrepo.unfilteredpropertycache | 360 @localrepo.unfilteredpropertycache |
361 def filestart(self): | 361 def filestart(self): |
362 self.manifest | 362 self.manifestlog |
363 return self.filestart | 363 return self.filestart |
364 | 364 |
365 def url(self): | 365 def url(self): |
366 return self._url | 366 return self._url |
367 | 367 |