remove unused imports stable
authorBrodie Rao <me+hg@dackz.net>
Sun, 14 Feb 2010 01:52:31 -0500
branchstable
changeset 10463 5ddde896a19d
parent 10462 a94804a8087d
child 10464 149ad0a3ec91
remove unused imports
hgext/bookmarks.py
hgext/color.py
hgext/inotify/__init__.py
hgext/inotify/linuxserver.py
hgext/progress.py
mercurial/cmdutil.py
mercurial/copies.py
--- a/hgext/bookmarks.py	Sun Feb 14 13:58:30 2010 +0100
+++ b/hgext/bookmarks.py	Sun Feb 14 01:52:31 2010 -0500
@@ -30,7 +30,7 @@
 
 from mercurial.i18n import _
 from mercurial.node import nullid, nullrev, hex, short
-from mercurial import util, commands, localrepo, repair, extensions
+from mercurial import util, commands, repair, extensions
 import os
 
 def write(repo):
--- a/hgext/color.py	Sun Feb 14 13:58:30 2010 +0100
+++ b/hgext/color.py	Sun Feb 14 01:52:31 2010 -0500
@@ -65,7 +65,7 @@
 
 import os, sys
 
-from mercurial import cmdutil, commands, extensions, error
+from mercurial import cmdutil, commands, extensions
 from mercurial.i18n import _
 
 # start and stop parameters for effects
--- a/hgext/inotify/__init__.py	Sun Feb 14 13:58:30 2010 +0100
+++ b/hgext/inotify/__init__.py	Sun Feb 14 01:52:31 2010 -0500
@@ -11,7 +11,6 @@
 # todo: socket permissions
 
 from mercurial.i18n import _
-from mercurial import cmdutil, util
 import server
 from client import client, QueryFailed
 
--- a/hgext/inotify/linuxserver.py	Sun Feb 14 13:58:30 2010 +0100
+++ b/hgext/inotify/linuxserver.py	Sun Feb 14 01:52:31 2010 -0500
@@ -8,7 +8,6 @@
 
 from mercurial.i18n import _
 from mercurial import osutil, util
-import common
 import server
 import errno, os, select, stat, sys, time
 
--- a/hgext/progress.py	Sun Feb 14 13:58:30 2010 +0100
+++ b/hgext/progress.py	Sun Feb 14 01:52:31 2010 -0500
@@ -39,7 +39,6 @@
 or +<num> for the first num characters.
 """
 
-import math
 import sys
 import time
 
--- a/mercurial/cmdutil.py	Sun Feb 14 13:58:30 2010 +0100
+++ b/mercurial/cmdutil.py	Sun Feb 14 01:52:31 2010 -0500
@@ -7,7 +7,7 @@
 
 from node import hex, nullid, nullrev, short
 from i18n import _
-import os, sys, errno, re, glob, tempfile, time
+import os, sys, errno, re, glob, tempfile
 import mdiff, bdiff, util, templater, patch, error, encoding, templatekw
 import match as _match
 
--- a/mercurial/copies.py	Sun Feb 14 13:58:30 2010 +0100
+++ b/mercurial/copies.py	Sun Feb 14 01:52:31 2010 -0500
@@ -5,7 +5,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
 import heapq