upgrade: rename UPGRADE_FILELOG to UPGRADE_FILELOGS
They are multiple filelog to upgrade, so this seems more accurate.
Differential Revision: https://phab.mercurial-scm.org/D9466
--- a/mercurial/upgrade.py Mon Nov 23 12:54:46 2020 +0100
+++ b/mercurial/upgrade.py Mon Nov 30 12:24:36 2020 +0100
@@ -716,10 +716,10 @@
UPGRADE_CHANGELOG = object()
UPGRADE_MANIFEST = object()
-UPGRADE_FILELOG = object()
+UPGRADE_FILELOGS = object()
UPGRADE_ALL_REVLOGS = frozenset(
- [UPGRADE_CHANGELOG, UPGRADE_MANIFEST, UPGRADE_FILELOG]
+ [UPGRADE_CHANGELOG, UPGRADE_MANIFEST, UPGRADE_FILELOGS]
)
@@ -753,7 +753,7 @@
return UPGRADE_CHANGELOG in revlogfilter
elif entry.endswith(b'00manifest.i'):
return UPGRADE_MANIFEST in revlogfilter
- return UPGRADE_FILELOG in revlogfilter
+ return UPGRADE_FILELOGS in revlogfilter
def _clonerevlogs(