remove unused imports
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sat, 31 Oct 2009 16:56:58 +0100
changeset 9678 e2b1de5fee04
parent 9677 0c072e63e3e7
child 9679 a1943c2a4661
remove unused imports
mercurial/commands.py
mercurial/dirstate.py
mercurial/help.py
mercurial/tags.py
--- 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