~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

More tests for abspath and clone behaviour

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
            port = int(port)
157
157
        except ValueError:
158
158
            # TODO: Should this be ConnectionError?
159
 
            raise errors.TransportError('%s: invalid port number' % port)
 
159
            raise errors.TransportError('invalid port number %s in url %s' % (port, url))
160
160
    host = urllib.unquote(host)
161
161
 
162
162
    path = urllib.unquote(path)