--- a/hgext/color.py Fri Aug 27 13:18:25 2010 +0200
+++ b/hgext/color.py Fri Aug 27 13:32:38 2010 -0400
@@ -77,7 +77,7 @@
'''
-import os, sys
+import os
from mercurial import commands, dispatch, extensions, ui as uimod
from mercurial.i18n import _
--- a/hgext/eol.py Fri Aug 27 13:18:25 2010 +0200
+++ b/hgext/eol.py Fri Aug 27 13:32:38 2010 -0400
@@ -66,7 +66,7 @@
"""
from mercurial.i18n import _
-from mercurial import util, config, extensions, commands, match, cmdutil
+from mercurial import util, config, extensions, match
import re, os
# Matches a lone LF, i.e., one that is not part of CRLF.
--- a/hgext/rebase.py Fri Aug 27 13:18:25 2010 +0200
+++ b/hgext/rebase.py Fri Aug 27 13:32:38 2010 -0400
@@ -14,7 +14,7 @@
http://mercurial.selenic.com/wiki/RebaseExtension
'''
-from mercurial import hg, util, repair, merge, cmdutil, commands, error
+from mercurial import hg, util, repair, merge, cmdutil, commands
from mercurial import extensions, ancestor, copies, patch
from mercurial.commands import templateopts
from mercurial.node import nullrev
--- a/hgext/relink.py Fri Aug 27 13:18:25 2010 +0200
+++ b/hgext/relink.py Fri Aug 27 13:32:38 2010 -0400
@@ -7,7 +7,7 @@
"""recreates hardlinks between repository clones"""
-from mercurial import cmdutil, hg, util
+from mercurial import hg, util
from mercurial.i18n import _
import os, stat
--- a/mercurial/encoding.py Fri Aug 27 13:18:25 2010 +0200
+++ b/mercurial/encoding.py Fri Aug 27 13:32:38 2010 -0400
@@ -6,7 +6,7 @@
# GNU General Public License version 2 or any later version.
import error
-import sys, unicodedata, locale, os
+import unicodedata, locale, os
def _getpreferredencoding():
'''
--- a/mercurial/hgweb/hgweb_mod.py Fri Aug 27 13:18:25 2010 +0200
+++ b/mercurial/hgweb/hgweb_mod.py Fri Aug 27 13:32:38 2010 -0400
@@ -6,8 +6,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
-import os, sys, urllib
-from mercurial import ui, hg, hook, error, encoding, templater, util
+import os
+from mercurial import ui, hg, hook, error, encoding, templater
from common import get_mtime, ErrorResponse, permhooks
from common import HTTP_OK, HTTP_BAD_REQUEST, HTTP_NOT_FOUND, HTTP_SERVER_ERROR
from request import wsgirequest
--- a/mercurial/httprepo.py Fri Aug 27 13:18:25 2010 +0200
+++ b/mercurial/httprepo.py Fri Aug 27 13:32:38 2010 -0400
@@ -6,12 +6,11 @@
# 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, nullid
+from node import nullid
from i18n import _
-import repo, changegroup, statichttprepo, error, url, util, wireproto
+import changegroup, statichttprepo, error, url, util, wireproto
import os, urllib, urllib2, urlparse, zlib, httplib
import errno, socket
-import encoding
def zgenerator(f):
zd = zlib.decompressobj()
--- a/mercurial/sshrepo.py Fri Aug 27 13:18:25 2010 +0200
+++ b/mercurial/sshrepo.py Fri Aug 27 13:32:38 2010 -0400
@@ -6,7 +6,7 @@
# GNU General Public License version 2 or any later version.
from i18n import _
-import repo, util, error, wireproto
+import util, error, wireproto
import re
class remotelock(object):
--- a/mercurial/sshserver.py Fri Aug 27 13:18:25 2010 +0200
+++ b/mercurial/sshserver.py Fri Aug 27 13:32:38 2010 -0400
@@ -6,7 +6,6 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
-from i18n import _
import util, hook, wireproto
import os, sys