I have recently been playing with subversion and have run into two
problems. Both cp and import fail to work if i specify http
urls but if i use file urls they work correctly.
import fails when i try to import a directory that will, after
importing, exist in the root directory:
prompt$ svn import http://naboo/mike test
subversion/libsvn_ra_dav/util.c:332: (apr_err=20014, src_err=0)
svn: Error string not specified yet
svn: OPTIONS request failed on /mike
subversion/libsvn_ra_dav/util.c:306: (apr_err=20014, src_err=0)
svn: The OPTIONS status was 301, but expected 200.
however it works when it is not importing into the repository root:
prompt$ svn import http://naboo/mike/trunk test
Adding test/yo
Transmitting file data .
Committed revision 8.
and it also works as expected when using file urls:
prompt$ svn import file:///repository/mike test
Adding test/yo
Transmitting file data .
Committed revision 9.
Once i successfully import files using file://... i can perform basic
operations like co,mv,add,rm without trouble with http. However when i
try to make a tag:
prompt$ svn cp http://naboo/mike/trunk/ http://naboo/mike/tags/1.1
subversion/libsvn_ra_dav/util.c:81: (apr_err=175002, src_err=0)
svn: RA layer request failed
svn: PROPFIND of /: 405 Method Not Allowed
the same message is given when i try to check out an entire repository:
prompt$ svn co http://naboo/mike mike
subversion/libsvn_ra_dav/util.c:81: (apr_err=175002, src_err=0)
svn: RA layer request failed
svn: PROPFIND of /: 405 Method Not Allowed
and this works as expected with the file dirver:
prompt$ svn co file:///repository/mike mike
... (many files)
Checked out revision 9.
There is a somewhat similar in symptom problem on the faq to my
import problem that boils down to a permission problem. I have double
checked and all files within the repository file tree are owned by
nobody which is the id that httpd runs as on my system. I have also
created other repositories from scratch and had the same problems.
I am using subversion/httpd head from 7 Oct 2002. My os is gentoo linux.
a relevant portion of httpd.conf:
<Location "/mike">
DAV svn
SVNPath /repository/mike
</Location>
thanks in advance for any assistance.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 15 23:02:31 2002