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

Re: svnsync: PROPFIND request failed

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Wed, 18 Feb 2009 22:49:47 -0600

On Feb 18, 2009, at 18:15, Lasse A. Karlsen wrote:

> Hi everyone! I'm desperately trying to backup my google code-repo
> but since I'm not too familiar with SVN, I can't get svnsync to work.
>
> I thought that backup up your repo to another repo or dumpfile was
> an easy task, but I'm I wrong?
>
> What I'm trying to do:
>
> norsof@shell:~$ svnsync init http://www.norsof.org/svn/ http://
> codalyzer.googlecode.com/svn/trunk
> svnsync: PROPFIND request failed on '/svn'
> svnsync: PROPFIND of '/svn': 301 Moved Permanently (http://
> www.norsof.org)
>
> What does that mean? And is it possible to fix it?
>
> http://www.norsof.org/svn/ was created with svnadmin create, ofc.
>

When I look at http://www.norsof.org/svn/ in a web browser, I just
see the directories conf, dav, db, hooks and locks, and the files
format and pre-revprop-change.cmd. There are two things wrong with
this. One, it means you have not configured your Apache to serve this
directory as a repository. You need to move that svn directory
outside of the DocumentRoot and then set up Apache to serve the
repository like this:

<Location /svn/>
        DAV svn
        SVNPath /path/to/where/you/moved/svn
</Location>

Two, the file pre-revprop-change.cmd will have no effect directly
inside the repository directory. It needs to be in the hooks
directory if you want Subversion to use it. But it also appears to be
empty so maybe it's a leftover file from when you were testing
something.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1189966

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-19 05:51:06 CET

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

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