bzr-svn problem: Permission denied: ".": PROPFIND request failed on '/svn/dept/ gt/trunk'
Brian de Alwis
bsd at cs.ubc.ca
Fri Feb 8 22:00:49 GMT 2008
Jelmer Vernooij wrote in a private e-mail:
> Turns out this is a Mac OS X related problem. There was somebody on
> IRC
> today who was having the same problem. Subversion itself retrieves the
> credentials from the Mac OS X keychain. However, there are no Python
> bindings for the particular function in svn that provides support for
> retrieving data from the keychain.
So thanks to Jelmer's tip above and IRC, I've made some progress in
getting bzr-svn to work on MacOSX. The attached patch is for
Subversion 1.5 (trunk) to add the necessary goo to export client
interfaces for the MacOS X keychain. Follow Tim Dyson's recipe as
posted to the bzr-svn page, but before building Subversion from trunk,
apply my patch to Subversion, and then use the following to build and
install:
$ ./gen-make.py
$ ./configure --without-apxs --with-ssl --prefix=/usr/local/installs/
subversion-1.5-r29228
(or where ever you want to install subversion)
$ make SWIG_DEFINES="-DDARWIN" all swig-py install install-swig-py
(The SWIG_DEFINES is a grotesque hack to compensate for my sadly
deficient autoconf skills.)
You'll need to use the latest stable bzr-svn from
http://people.samba.org/bzr/jelmer/bzr-svn/stable/
and continue to comment out the two providers lines in
transport.py:_create_auth_baton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svn-1.5.patch
Type: application/octet-stream
Size: 2846 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080208/aae02ede/attachment-0001.obj
-------------- next part --------------
The patch should also apply relatively cleanly to and work for
Subversion 1.4.6.
With this patch bzr-svn now connects to https:// Subversion servers
and can exchange information. You can see the HTTP headers and bodies
by setting neon-debug-mask=130 in ~/.subversion/servers.
Unfortunately accessing my repository fails:
$ bzr svn-branching-scheme svn+https://papyrus.usask.ca/svn/dept/gt/
bzr: ERROR: No repository present: "svn+https://papyrus.usask.ca/svn/
dept/gt/"
And doing a 'bzr info' on that same repository appears to hang -- the
debug logs indicate a request has been made for the last 1000
revisions. I'll open bug reports for these on LP.
Brian.
--
Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/
"Amusement to an observing mind is study." - Benjamin Disraeli
More information about the bazaar
mailing list