Patchwork D9747: largefiles: remove unused imports

login
register
mail settings
Submitter phabricator
Date Jan. 13, 2021, 10:30 a.m.
Message ID <differential-rev-PHID-DREV-pad52nzmuflswwgev4dk-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48058/
State Superseded
Headers show

Comments

phabricator - Jan. 13, 2021, 10:30 a.m.
pulkit created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This fixes test-check-pyflakes.t

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9747

AFFECTED FILES
  hgext/largefiles/__init__.py
  hgext/largefiles/proto.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/hgext/largefiles/proto.py b/hgext/largefiles/proto.py
--- a/hgext/largefiles/proto.py
+++ b/hgext/largefiles/proto.py
@@ -5,7 +5,6 @@ 
 from __future__ import absolute_import
 
 import os
-import re
 
 from mercurial.i18n import _
 from mercurial.pycompat import open
diff --git a/hgext/largefiles/__init__.py b/hgext/largefiles/__init__.py
--- a/hgext/largefiles/__init__.py
+++ b/hgext/largefiles/__init__.py
@@ -111,9 +111,7 @@ 
     extensions,
     exthelper,
     hg,
-    httppeer,
     localrepo,
-    sshpeer,
     wireprotov1server,
 )