diff --git a/hgext/remotefilelog/connectionpool.py b/hgext/remotefilelog/connectionpool.py
--- a/hgext/remotefilelog/connectionpool.py
+++ b/hgext/remotefilelog/connectionpool.py
@@ -8,7 +8,6 @@
 from __future__ import absolute_import
 
 from mercurial import (
-    extensions,
     hg,
     pycompat,
     sshpeer,