Mercurial > hg
changeset 4781:38bf55d2e41f
Merge with tah
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Mon, 02 Jul 2007 22:34:38 -0700 |
parents | 169fe1e6104c (diff) a7915f79d4cc (current diff) |
children | 37e11c768db9 |
files | |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/__init__.py Mon Jul 02 22:45:58 2007 +0200 +++ b/hgext/convert/__init__.py Mon Jul 02 22:34:38 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)