author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Wed, 23 Sep 2020 15:15:46 +0200 | |
changeset 45572 | 48c93a0b2acb |
parent 45571 | 7543b5072e84 |
child 45573 | f9a67afcc33b |
--- a/mercurial/changelog.py Wed Sep 23 15:13:44 2020 +0200 +++ b/mercurial/changelog.py Wed Sep 23 15:15:46 2020 +0200 @@ -330,9 +330,7 @@ @property def filesadded(self): if self._cpsd: - rawindices = self._sidedata.get(sidedatamod.SD_FILESADDED) - if not rawindices: - return [] + return self.changes.added else: rawindices = self.extra.get(b'filesadded') if rawindices is None: