changeset 2579 | 0875cda033fd |
parent 2555 | d6605381c6df |
child 2595 | edb66cb05ded |
--- 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: