Bzrlib does not understand https+webdav even though webdav plugin is installed (works from command line)
Nicholas Allen
nick.allen at onlinehome.de
Tue Feb 24 11:06:49 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm trying to pull from a branch's parent using bzrlib API. The parent
location is using https+webdav. When I run this code I get an exception
wiht the message:
Unsupported protocol for url "https+webdav://.....
If I branch from the command line using the exact same address there is
no problem. bzr plugins shows that the webdav plugin is installed.
My python code looks like this:
try:
parent_location = branch.get_parent()
if not parent_location is None:
parent_branch = Branch.open(parent_location)
branch.pull(parent_branch)
except BzrError, e:
print >>sys.stderr, \
'Could not pull from parent for branch %s:
%s' % (branch_emailer.path, e)
What am I doing wrong?
Cheers,
Nick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmj1MkACgkQ1+i51gqqEGkJ4ACdF1lnHb2a0DZafvP0p7P6tJ3g
vZsAoIBwuMVvYWm+Bj1VP0lJEkweIaik
=TLZe
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list