Commits

Martin Geisler  committed b4a2b90

cleanup import statements

  • Participants
  • Parent commits 6575779
  • Branches hgtk

Comments (0)

Files changed (5)

File tortoisehg/hgtk/bookmark.py

 import gtk
 import traceback
 
-from mercurial import ui, util, commands
+from mercurial import ui, error, commands
 
 from tortoisehg.util.i18n import _
 from tortoisehg.util import hglib, i18n, settings

File tortoisehg/hgtk/datamine.py

 import threading
 import re
 
-from mercurial import util, error, scmutil
+from mercurial import error, scmutil
 
 from tortoisehg.util.i18n import _
 from tortoisehg.util import hglib, thread2

File tortoisehg/hgtk/hgtk.py

 import gobject
 
 import mercurial.ui as _ui
-from mercurial import hg, util, fancyopts, cmdutil, extensions, error
+from mercurial import hg, util, fancyopts, cmdutil, extensions, error, scmutil
 
 from tortoisehg.util.i18n import agettext as _
 from tortoisehg.util import hglib, paths, shlib, i18n

File tortoisehg/hgtk/thgpbranch.py

 import gtk
 import gobject
 
-from mercurial import scmutil, extensions
+from mercurial import error, scmutil, extensions
 from mercurial import commands as hg
 import mercurial.ui
 

File tortoisehg/util/hglib.py

         from mercurial.patch import updatedir
 demandimport.enable()
 
-from mercurial import ui, util, extensions, match, bundlerepo, cmdutil
+from mercurial import ui, util, error, extensions, match, bundlerepo, cmdutil
 from mercurial import dispatch, encoding, templatefilters, filemerge, scmutil
 
 _encoding = encoding.encoding