author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
Tue, 31 Oct 2006 23:56:52 +0100 | |
changeset 3599 | e00920b4f1cb |
parent 3598 | 27121416f9a8 |
child 3600 | 932dadd2e614 |
--- a/mercurial/sshrepo.py Tue Oct 31 14:53:08 2006 -0800 +++ b/mercurial/sshrepo.py Tue Oct 31 23:56:52 2006 +0100 @@ -16,7 +16,7 @@ self._url = path self.ui = ui - m = re.match(r'ssh://(([^@]+)@)?([^:/]+)(:(\d+))?(/(.*))?', path) + m = re.match(r'^ssh://(([^@]+)@)?([^:/]+)(:(\d+))?(/(.*))?$', path) if not m: self.repoerror(_("couldn't parse location %s") % path)