Mercurial > hgsubversion
diff cmdutil.py @ 243:2027f851d60c
Small cleanups: remove unneeded imports, useless superclass.
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Wed, 08 Apr 2009 17:54:30 +0200 |
parents | 06130689a2c8 |
children | 28d0ee605308 |
line wrap: on
line diff
--- 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. """