Comment 1 for bug 705666

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

lp.branches.getByUrl() doesn't support some URLs.

>>> lp.branches.getByUrl(url="bzr+ssh://bazaar.launchpad.net/%2Bbranch/ubuntu/natty/mgltools-viewerframework")
>>> lp.branches.getByUrl(url="bzr+ssh://bazaar.launchpad.net/~branch/ubuntu/natty/mgltools-viewerframework")
>>> lp.branches.getByUrl(url="bzr+ssh://bazaar.launchpad.net/~ubuntu-branches/ubuntu/natty/mgltools-viewerframework")
>>> lp.branches.getByUrl(url="bzr+ssh://bazaar.launchpad.net/~ubuntu-branches/ubuntu/natty/mgltools-viewerframework/natty")
<branch at https://api.launchpad.net/1.0/~ubuntu-branches/ubuntu/natty/mgltools-viewerframework/natty>