Mercurial > public > mercurial-scm > hg-stable
diff mercurial/changelog.py @ 45672:f877b3628015
copies: return None instead of ChangingFiles when relevant
If they are not relevant data, they are no need to fetch them.
Differential Revision: https://phab.mercurial-scm.org/D9140
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 01 Oct 2020 09:42:39 +0200 |
parents | 2d6aea053153 |
children | 232c88dd89e3 |
line wrap: on
line diff
--- a/mercurial/changelog.py Thu Oct 01 09:29:49 2020 +0200 +++ b/mercurial/changelog.py Thu Oct 01 09:42:39 2020 +0200 @@ -599,7 +599,7 @@ l = [hex(manifest), user, parseddate] + sortedfiles + [b"", desc] text = b"\n".join(l) return self.addrevision( - text, transaction, len(self), p1, p2, sidedata=sidedata + text, transaction, len(self), p1, p2, sidedata=sidedata, flags=flags ) def branchinfo(self, rev):