/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to remote.py

Fix default port for git+ssh://

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
        Transport.__init__(self, url)
98
98
        (scheme, _, loc, _, _) = urlparse.urlsplit(url)
99
99
        hostport, self._path = urllib.splithost(loc)
100
 
        (self._host, self._port) = urllib.splitnport(hostport, git.protocol.TCP_GIT_PORT)
 
100
        (self._host, self._port) = urllib.splitnport(hostport, None)
101
101
        self._client = _client
102
102
 
103
103
    def has(self, relpath):