# HG changeset patch
# User Dirkjan Ochtman <dirkjan@ochtman.nl>
# Date 1239206070 -7200
# Node ID 2027f851d60cb39c4ab49c984a4be8d0807bff77
# Parent  06130689a2c8ea4a2daf7672285d5a2d03be1ec5
Small cleanups: remove unneeded imports, useless superclass.

diff --git a/cmdutil.py b/cmdutil.py
--- a/cmdutil.py
+++ b/cmdutil.py
@@ -7,11 +7,7 @@ import svnwrap
 import svnexternals
 
 
-class BaseException(Exception):
-    pass
-
-
-class NoFilesException(BaseException):
+class NoFilesException(Exception):
     """Exception raised when you try and commit without files.
     """
 
@@ -128,7 +124,7 @@ def _externals(ctx):
     return ext
 
 
-def commit_from_rev(ui, repo, rev_ctx, hg_editor, svn_url, base_revision
+def commit_from_rev(ui, repo, rev_ctx, hg_editor, svn_url, base_revision,
                     username, password):
     """Build and send a commit from Mercurial to Subversion.
     """
diff --git a/svncommand.py b/svncommand.py
--- a/svncommand.py
+++ b/svncommand.py
@@ -1,12 +1,10 @@
 import os
-import stat
 import sys
 import traceback
 
 from mercurial import hg
 from mercurial import node
 
-import svnwrap
 import util
 from util import register_subcommand, svn_subcommands, generate_help, svn_commands_nourl
 # dirty trick to force demandimport to run my decorator anyway.