/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

Improve the fix dealing with git repo's in home directories.

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
    (scheme, _, loc, _, _) = urlparse.urlsplit(url)
88
88
    hostport, escaped_path = urllib.splithost(loc)
89
89
    path = urllib.unquote(escaped_path)
90
 
    if len(path) > 0 and path[0] == "/":
 
90
    if path.startswith("/~"):
91
91
        path = path[1:]
92
92
    (username, hostport) = urllib.splituser(hostport)
93
93
    (host, port) = urllib.splitnport(hostport, None)