I have encountered what I think is a bug in Subversion when attempting
to create a tag using Subversion 1.1.3 on RedHat 9. I have a set of
scripts that do a Subversion checkout, build and test our product, and
then create a Subversion tag based on the working copy used for the
build. I am using the following command to perform the tag:
svn --non-interactive --quiet copy -m 'Tagged 2.4 Alpha 2 build.' .
http://rhodes/svn/platform/tags/2.4_Alpha_2
which on our production build machine produces the following output:
svn: Commit failed (details follow):
svn: PROPFIND request failed on '/usr/subversion/platform/trunk'
svn: PROPFIND of '/usr/subversion/platform/trunk': 405 Method Not
Allowed (http://rhodes)
Exit 1
After looking at the Apache access log, the relevant section of which is
attached below, I remembered that I had checked out the working copy
using the following URL: file:///usr/subversion/platform/trunk. I don't
know whether I should be able to tag a working copy using a different
(base) URL from the one I used to check it out, but it would be nice if
"svn copy" gave me a more appropriate error message. (I spent a while
trying to debug a non-existant "permission problem" on my Apache server,
before I realized that the URL was the problem.)
-Peter Stout
Extract from Apache access_log for the requests generated by the copy
command:
172.26.62.14 - - [23/Jun/2005:15:33:42 -0700] "PROPFIND
/svn/platform/tags/2.4_Alpha_2 HTTP/1.1" 401 475 "-" "SVN/1.1.3 (r12730)
neon/0.24.7"
172.26.62.14 - grunt [23/Jun/2005:15:33:42 -0700] "PROPFIND
/svn/platform/tags/2.4_Alpha_2 HTTP/1.1" 404 301 "-" "SVN/1.1.3 (r12730)
neon/0.24.7"
172.26.62.14 - grunt [23/Jun/2005:15:33:42 -0700] "PROPFIND
/svn/platform/tags HTTP/1.1" 207 692 "-" "SVN/1.1.3 (r12730) neon/0.24.7"
172.26.62.14 - grunt [23/Jun/2005:15:33:42 -0700] "PROPFIND
/svn/platform/!svn/vcc/default HTTP/1.1" 207 409 "-" "SVN/1.1.3 (r12730)
neon/0.24.7"
172.26.62.14 - grunt [23/Jun/2005:15:33:42 -0700] "PROPFIND
/svn/platform/!svn/bln/7181 HTTP/1.1" 207 466 "-" "SVN/1.1.3 (r12730)
neon/0.24.7"
172.26.62.14 - grunt [23/Jun/2005:15:33:42 -0700] "PROPFIND
/svn/platform/!svn/bc/7181/tags/2.4_Alpha_2 HTTP/1.1" 404 314 "-"
"SVN/1.1.3 (r12730) neon/0.24.7"
172.26.62.14 - - [23/Jun/2005:15:34:10 -0700] "OPTIONS
/svn/platform/tags HTTP/1.1" 401 475 "-" "SVN/1.1.3 (r12730) neon/0.24.7"
172.26.62.14 - grunt [23/Jun/2005:15:34:10 -0700] "OPTIONS
/svn/platform/tags HTTP/1.1" 200 192 "-" "SVN/1.1.3 (r12730) neon/0.24.7"
172.26.62.14 - grunt [23/Jun/2005:15:34:10 -0700] "MKACTIVITY
/svn/platform/!svn/act/08aeb748-3dfa-0310-8bcf-9ea7819a8b47 HTTP/1.1"
201 305 "-" "SVN/1.1.3 (r12730) neon/0.24.7"
172.26.62.14 - grunt [23/Jun/2005:15:34:10 -0700] "PROPFIND
/svn/platform/tags HTTP/1.1" 207 445 "-" "SVN/1.1.3 (r12730) neon/0.24.7"
172.26.62.14 - grunt [23/Jun/2005:15:34:10 -0700] "PROPFIND
/svn/platform/!svn/vcc/default HTTP/1.1" 207 409 "-" "SVN/1.1.3 (r12730)
neon/0.24.7"
172.26.62.14 - grunt [23/Jun/2005:15:34:10 -0700] "CHECKOUT
/svn/platform/!svn/bln/7181 HTTP/1.1" 201 322 "-" "SVN/1.1.3 (r12730)
neon/0.24.7"
172.26.62.14 - grunt [23/Jun/2005:15:34:10 -0700] "PROPPATCH
/svn/platform/!svn/wbl/08aeb748-3dfa-0310-8bcf-9ea7819a8b47/7181
HTTP/1.1" 207 360 "-" "SVN/1.1.3 (r12730) neon/0.24.7"
172.26.62.14 - grunt [23/Jun/2005:15:34:10 -0700] "PROPFIND
/svn/platform/tags HTTP/1.1" 207 403 "-" "SVN/1.1.3 (r12730) neon/0.24.7"
172.26.62.14 - grunt [23/Jun/2005:15:34:10 -0700] "CHECKOUT
/svn/platform/!svn/ver/7015/tags HTTP/1.1" 201 322 "-" "SVN/1.1.3
(r12730) neon/0.24.7"
172.26.62.14 - - [23/Jun/2005:15:34:10 -0700] "PROPFIND
/usr/subversion/platform/trunk HTTP/1.1" 405 329 "-" "SVN/1.1.3 (r12730)
neon/0.24.7"
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 24 01:22:28 2005