changeset 11596:47ca289a3a08

ssh: drop some old imports
author Matt Mackall <mpm@selenic.com>
date Thu, 15 Jul 2010 15:06:45 -0500
parents 368cd5325348
children 9141d2c9e5a5
files mercurial/sshrepo.py mercurial/sshserver.py
diffstat 2 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/sshrepo.py	Thu Jul 15 15:05:04 2010 -0500
+++ b/mercurial/sshrepo.py	Thu Jul 15 15:06:45 2010 -0500
@@ -5,10 +5,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 node import bin, hex
 from i18n import _
-import repo, util, error, encoding, wireproto
-import re, urllib
+import repo, util, error, wireproto
+import re
 
 class remotelock(object):
     def __init__(self, repo):
--- a/mercurial/sshserver.py	Thu Jul 15 15:05:04 2010 -0500
+++ b/mercurial/sshserver.py	Thu Jul 15 15:06:45 2010 -0500
@@ -7,9 +7,8 @@
 # GNU General Public License version 2 or any later version.
 
 from i18n import _
-from node import bin, hex
-import streamclone, util, hook, pushkey, wireproto
-import os, sys, tempfile, urllib, copy
+import util, hook, wireproto
+import os, sys
 
 class sshserver(object):
     def __init__(self, ui, repo):