diff -r cf4f0322851d -r 0875cda033fd mercurial/hg.py --- a/mercurial/hg.py Sat Jul 08 16:55:49 2006 +0200 +++ b/mercurial/hg.py Sun Jul 09 01:30:30 2006 +0200 @@ -61,8 +61,7 @@ if not path: path = '' scheme = path if scheme: - c = scheme.find(':') - scheme = c >= 0 and scheme[:c] + scheme = scheme.split(":", 1)[0] ctor = schemes.get(scheme) or schemes['file'] if create: try: