Mercurial > hg-stable
changeset 3599:e00920b4f1cb
sshrepo: fix the parsing of the ssh url
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 31 Oct 2006 23:56:52 +0100 |
parents | 27121416f9a8 |
children | 932dadd2e614 |
files | mercurial/sshrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)