Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revlogutils/rewrite.py @ 50530:e50d1fe7ebb4
store: issue a single entry for each revlog
We now yield a single entry, with data about each files involved. This help to
simplify multiple code using this and it will help to further simplify and
fixes the streaming code.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 15 May 2023 09:03:15 +0200 |
parents | 85c5b4b507af |
children | 0bd214f83216 |
line wrap: on
line diff
--- a/mercurial/revlogutils/rewrite.py Mon May 15 09:02:59 2023 +0200 +++ b/mercurial/revlogutils/rewrite.py Mon May 15 09:03:15 2023 +0200 @@ -828,9 +828,7 @@ entry for entry in repo.store.datafiles() if ( - entry.is_revlog - and entry.is_revlog_main - and entry.revlog_type == store.FILEFLAGS_FILELOG + entry.is_revlog and entry.revlog_type == store.FILEFLAGS_FILELOG ) )