[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

mod_dav_svn MKCOL

From: Mike Geiger <mike_at_PerCurrence.com>
Date: 2001-10-18 22:58:48 CEST

I am having trouble invoking MKCOL on Apache 2 Win2K.

I tried to make a collection using svn:
svn import file:///apache_1.3/htdocs/newrepos c:\backup bak

This worked.
A PROPFIND returns:
                        <D:response xmlns:S="svn:" xmlns:C="svn:custom:"
xmlns:lp3="svn:" xmlns:lp1="DAV:"
xmlns:lp2="http://apache.org/dav/props/">
                                <D:href>/svn/repos/bak/</D:href>
                                <D:propstat>
                                        <D:prop>
        
<lp1:getetag>"66.1"</lp1:getetag>
                                                <lp1:checked-in>
        
<D:href>/svn/repos/$svn/ver/66.1/bak</D:href>
                                                </lp1:checked-in>
        
<lp1:version-controlled-configuration>
        
<D:href>/svn/repos/$svn/vcc/default</D:href>
        
</lp1:version-controlled-configuration>
        
<lp3:baseline-relative-path>bak</lp3:baseline-relative-path>
                                                <lp1:resourcetype>
                                                        <D:collection/>
                                                </lp1:resourcetype>
                                        </D:prop>
                                        <D:status>HTTP/1.1 200
OK</D:status>
                                </D:propstat>
                        </D:response>

This seems to indicate that "bak" is indeed a "<D:collection/>".

When I submit a MKCOL http://localhost:8080/svn/repos/bak/newcollection
I get the standard '500' error, but the root cause is that
"svn_fs_is_dir" quite correctly returns that 'newcollection' is not a
dir. I've tried changing the 'DAV_RESOURCE_TYPE' but have not had any
luck with that.

The same command works as expected in mod_dav_fs and MS Webdav.

Is there a test suite for mod_dav_svn?

Thanks,
Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:45 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.