Show More
@@ -16,7 +16,7 b' class sshrepository(remoterepository):' | |||||
16 | self._url = path |
|
16 | self._url = path | |
17 | self.ui = ui |
|
17 | self.ui = ui | |
18 |
|
18 | |||
19 | m = re.match(r'ssh://(([^@]+)@)?([^:/]+)(:(\d+))?(/(.*))?', path) |
|
19 | m = re.match(r'^ssh://(([^@]+)@)?([^:/]+)(:(\d+))?(/(.*))?$', path) | |
20 | if not m: |
|
20 | if not m: | |
21 | self.repoerror(_("couldn't parse location %s") % path) |
|
21 | self.repoerror(_("couldn't parse location %s") % path) | |
22 |
|
22 |
General Comments 0
You need to be logged in to leave comments.
Login now