--- a/mercurial/upgrade.py Mon Nov 30 19:26:54 2020 +0100
+++ b/mercurial/upgrade.py Mon Nov 30 14:06:45 2020 +0100
@@ -1152,6 +1152,7 @@
backup=True,
manifest=None,
changelog=None,
+ filelogs=None,
):
"""Upgrade a repository in place."""
if optimize is None:
@@ -1162,7 +1163,8 @@
revlogs = set(UPGRADE_ALL_REVLOGS)
specentries = (
(UPGRADE_CHANGELOG, changelog),
- (UPGRADE_MANIFEST, manifest)
+ (UPGRADE_MANIFEST, manifest),
+ (UPGRADE_FILELOGS, filelogs),
)
specified = [(y, x) for (y, x) in specentries if x is not None]
if specified: