My experience with bzr-svn
Jelmer Vernooij
jelmer at samba.org
Tue May 19 00:16:16 BST 2009
On Mon, May 18, 2009 at 07:04:47PM -0400, Lars Kellogg-Stedman wrote:
> > This is unrelated to bzr-svn, but to pycurl which is used by bzr (and
> > does not support self-signed certificates).
> pycurl appears to support self-signed certificates just fine. This
> code works for me, using pycurl 7.18.2:
> c = pycurl.Curl()
> c.setopt(c.URL, 'https://svn.example.com/reporoot/projects')
> c.setopt(c.SSL_VERIFYPEER,0)
> c.setopt(c.USERPWD, 'lars:secret')
> c.perform()
> And bzr-svn, once I added the code to set SSL_VERIFYPEER to 0, worked
> as expected.
Sorry, what I meant was that it has no way to register a function that
can verify self-signed certificates. SSL_VERIFYPEER means ignoring the
authenticity of ssl certificates. Anyhow, this is a problem in bzr
itself, not in bzr-svn (which doesn't use pycurl). bzr really should
be defaulting to urllib at this point, which doesn't have any of these problems
(https://bugs.edge.launchpad.net/bzr/+bug/125055)
> > This is a known bug in 0.5.3, it should be fixed in 0.5.4.
> > Alternatively, you should be able to specify --layout trunk1.
> I tried this (with 0.5.3), and while there were no errors I ended up
> with nothing but an empty directory.
Try running "bzr co" in this directory to actually check out the
files.
Cheers,
Jelmer
--
Jelmer Vernooij <jelmer at samba.org> - http://jelmer.vernstok.nl/
01:09:37 up 1 day, 23:32, 9 users, load average: 2.89, 2.26, 1.24
More information about the bazaar
mailing list