Mercurial > public > mercurial-scm > hg
comparison mercurial/revlogutils/rewrite.py @ 50493: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 |
comparison
equal
deleted
inserted
replaced
50492:ed8cda1c18e1 | 50493:e50d1fe7ebb4 |
---|---|
826 with context(): | 826 with context(): |
827 files = list( | 827 files = list( |
828 entry | 828 entry |
829 for entry in repo.store.datafiles() | 829 for entry in repo.store.datafiles() |
830 if ( | 830 if ( |
831 entry.is_revlog | 831 entry.is_revlog and entry.revlog_type == store.FILEFLAGS_FILELOG |
832 and entry.is_revlog_main | |
833 and entry.revlog_type == store.FILEFLAGS_FILELOG | |
834 ) | 832 ) |
835 ) | 833 ) |
836 | 834 |
837 progress = ui.makeprogress( | 835 progress = ui.makeprogress( |
838 _(b"looking for affected revisions"), | 836 _(b"looking for affected revisions"), |