changeset 9678:e2b1de5fee04

remove unused imports
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 31 Oct 2009 16:56:58 +0100
parents 0c072e63e3e7
children a1943c2a4661
files mercurial/commands.py mercurial/dirstate.py mercurial/help.py mercurial/tags.py
diffstat 4 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Oct 31 16:49:27 2009 +0100
+++ b/mercurial/commands.py	Sat Oct 31 16:56:58 2009 +0100
@@ -8,8 +8,8 @@
 from node import hex, nullid, nullrev, short
 from lock import release
 from i18n import _, gettext
-import os, re, sys, subprocess, difflib, time, tempfile
-import hg, util, revlog, bundlerepo, extensions, copies, context, error
+import os, re, sys, difflib, time, tempfile
+import hg, util, revlog, bundlerepo, extensions, copies, error
 import patch, help, mdiff, url, encoding
 import archival, changegroup, cmdutil, sshserver, hbisect
 from hgweb import server
--- a/mercurial/dirstate.py	Sat Oct 31 16:49:27 2009 +0100
+++ b/mercurial/dirstate.py	Sat Oct 31 16:56:58 2009 +0100
@@ -9,7 +9,7 @@
 from i18n import _
 import util, ignore, osutil, parsers
 import struct, os, stat, errno
-import cStringIO, sys
+import cStringIO
 
 _unknown = ('?', 0, 0, 0)
 _format = ">cllll"
--- a/mercurial/help.py	Sat Oct 31 16:49:27 2009 +0100
+++ b/mercurial/help.py	Sat Oct 31 16:56:58 2009 +0100
@@ -7,7 +7,7 @@
 
 from i18n import gettext, _
 import sys, os
-import extensions, util
+import extensions
 
 
 def moduledoc(file):
--- a/mercurial/tags.py	Sat Oct 31 16:49:27 2009 +0100
+++ b/mercurial/tags.py	Sat Oct 31 16:56:58 2009 +0100
@@ -10,7 +10,6 @@
 # Eventually, it could take care of updating (adding/removing/moving)
 # tags too.
 
-import os
 from node import nullid, bin, hex, short
 from i18n import _
 import encoding