pycompat: export a handle on concurrent.futures
On Python 3, we use the built-in version in the standard library. Else
we use our vendored backport.
Differential Revision: https://phab.mercurial-scm.org/D3266
--- a/mercurial/pycompat.py Mon Apr 09 12:27:52 2018 -0700
+++ b/mercurial/pycompat.py Mon Apr 09 12:28:57 2018 -0700
@@ -26,7 +26,10 @@
import Queue as _queue
import SocketServer as socketserver
import xmlrpclib
+
+ from .thirdparty.concurrent import futures
else:
+ import concurrent.futures as futures
import http.cookiejar as cookielib
import http.client as httplib
import pickle