diff -r f4733654f144 -r 1c5810ce737e mercurial/upgrade_utils/auto_upgrade.py --- a/mercurial/upgrade_utils/auto_upgrade.py Mon Sep 16 15:36:44 2024 +0200 +++ b/mercurial/upgrade_utils/auto_upgrade.py Thu Sep 12 16:27:58 2024 -0400 @@ -4,6 +4,9 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. + +from __future__ import annotations + from ..i18n import _ from .. import (