Mercurial > hg
changeset 10885:9e4d120e3c32 stable
convert/subversion: fix default URL checker prototype
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 12 Apr 2010 21:19:53 +0200 |
parents | 196908117c27 |
children | 3a1a1077f177 2d61b612a09d |
files | hgext/convert/subversion.py tests/test-convert tests/test-convert.out |
diffstat | 3 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Fri Apr 09 20:34:05 2010 +0200 +++ b/hgext/convert/subversion.py Mon Apr 12 21:19:53 2010 +0200 @@ -178,7 +178,7 @@ path = os.path.abspath(url) if proto == 'file': path = path.replace(os.sep, '/') - check = protomap.get(proto, lambda p, p2: False) + check = protomap.get(proto, lambda *args: False) while '/' in path: if check(ui, path, proto): return True