changeset 4780 | 169fe1e6104c |
parent 4766 | 95cbb6b74790 |
child 4812 | a5209b0487e0 |
--- a/hgext/convert/__init__.py Mon Jul 02 13:26:12 2007 -0700 +++ b/hgext/convert/__init__.py Mon Jul 02 22:33:48 2007 -0700 @@ -18,12 +18,12 @@ converters = [convert_cvs, convert_git, convert_svn, convert_mercurial] -def convertsource(ui, path, rev=None): +def convertsource(ui, path, **opts): for c in converters: if not hasattr(c, 'getcommit'): continue try: - return c(ui, path, rev=rev) + return c(ui, path, **opts) except NoRepo: pass raise util.Abort('%s: unknown repository type' % path)