changeset 32292 | 0ad0d26ff703 |
parent 32291 | bd872f64a8ba |
child 32312 | 0d6b3572ad92 |
--- a/mercurial/localrepo.py Fri Feb 10 16:56:29 2017 -0800 +++ b/mercurial/localrepo.py Sat May 13 16:26:43 2017 -0700 @@ -528,10 +528,8 @@ @storecache('00changelog.i') def changelog(self): - c = changelog.changelog(self.svfs) - if txnutil.mayhavepending(self.root): - c.readpending('00changelog.i.a') - return c + return changelog.changelog(self.svfs, + trypending=txnutil.mayhavepending(self.root)) def _constructmanifest(self): # This is a temporary function while we migrate from manifest to