You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Chris Shenton <ch...@shenton.org> on 2009/05/21 14:21:38 UTC
svn cp FromURL ToURL: Path already exists
I've got subversion-1.6.2 running behind apache-2.2.11 and haven't had
any problem until recently (IIRC I was running 1.6.0 earlier). I now
can't create branches or trunks:
chris$ svn ls https://svn.example.com/example/accounting/trunk
ACCOUNTING.rst
INSTALL.rst
README.txt
accounting/
bootstrap.py
buildout.cfg
chris$ svn ls https://svn.example.com/example/accounting/branches
0.1-bfg-0.7.0/
0.2/
chris$ svn cp https://svn.example.com/example/accounting/trunk https://svn.example.com/example/accounting/branches/0.3a
svn: Path 'branches/0.3a/trunk' already exists
chris$ svn --version
svn, version 1.6.2 (r37639)
Note that path: clearly from the "svn ls" above it does not exist. more
strangely ,to me, is the destination path itself -- why is it suffixing
with 'trunk' at all?
I tried this from FreeBSD, OS X, and Ubuntu with command line clients
and get the same problem, so it appears to be a server issue.
The only thing that I find suspicious is this in my Apache logs for the
SVN virtual host:
[error] [client 192.168.255.100]
Failed to query lock-null status for /usr/local/www/apache22/data/example
That path doesn't exist at all in my apache conf file. There's not
enough info for me to go on, but could this be a WebDAV issue?
Google hasn't enlighten me so far. Any other suggestions?
Thanks.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2350051
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: svn cp FromURL ToURL: Path already exists
Posted by Chris Shenton <ch...@shenton.org>.
I came across this post in a couple list archivers:
http://article.gmane.org/gmane.comp.version-control.subversion.tortoisesvn.user/18480
which indicated he got the same error if he had the same directive I
have, per the SVN vs. Apache docs:
<LimitExcept PROPFIND OPTIONS>
But if he used just one of those, PROPFIND *or* OPTIONS it worked.
I tried it and I can now do "svn cp" operations:
<Location />
DAV svn
SVNParentPath /usr/local/svn
AuthType Basic
AuthUserFile /usr/local/etc/apache22/htpasswd-svn
AuthGroupFile /usr/local/etc/apache22/htgroup-svn
#<LimitExcept PROPFIND OPTIONS>
<LimitExcept PROPFIND>
Require valid-user
</LimitExcept>
But I don't understand why it stopped working (something in an earlier
upgrade to Apache or svn 1.6.0 to 1.6.2?), or why it works now. Ideas?
Thanks
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2352619
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].