changeset 48835 | a0da5075bca3 |
parent 48793 | 6e559391f96e |
child 48875 | 6000f5b25c9b |
--- a/mercurial/localrepo.py Wed Mar 02 10:23:53 2022 -0500 +++ b/mercurial/localrepo.py Wed Mar 02 10:24:49 2022 -0500 @@ -16,6 +16,7 @@ import time import weakref +from concurrent import futures from .i18n import _ from .node import ( bin, @@ -278,7 +279,7 @@ # method on the peer and return a resolved future. fn = getattr(self._peer, pycompat.sysstr(command)) - f = pycompat.futures.Future() + f = futures.Future() try: result = fn(**pycompat.strkwargs(args))