changeset 98:209a434734ed

don't import everything and the kitchen sink
author Sverre Rabbelier <sverre@rabbelier.nl>
date Sun, 10 May 2009 07:20:58 -0700
parents f0628f5270b6
children 541571f2e429
files __init__.py
diffstat 1 files changed, 2 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/__init__.py
+++ b/__init__.py
@@ -14,16 +14,9 @@
 
 '''
 
-# just importing every damn thing because i don't know python that well
-# and I have no idea what I actually need
-from mercurial import util, repair, merge, cmdutil, commands, hg, url
-from mercurial import extensions, ancestor
-from mercurial.commands import templateopts
-from mercurial.node import nullrev, nullid, short
+from mercurial import commands
+from mercurial import hg
 from mercurial.i18n import _
-import os, errno, sys
-import subprocess
-import dulwich
 from git_handler import GitHandler
 
 # support for `hg clone git://github.com/defunkt/facebox.git`