I have encountered a bug with Tortoise SVN when we attempt to update an
area of the tree that has an ampersand in it.
To illustrate this, consider the following tree structure in a
repository named "main"
/trunk/
/trunk/project 1/
/trunk/project 1/source/
/trunk/project 1/patches & fixes/
/trunk/project 1/patches & fixes/patch 1/
...
If we perform an initial CVN checkout of "/trunk/project 1" to a Windows
XP client, all runs well. If we perform an update of "/trunk/project 1",
evenrything also runs smoothly. However, if we perform an update of the
"/trunk/project 1/patches & fixes" branch, TortoiseSVN spits outthe
following error:
REPORT request failed on '/main/!svn/vcc/default'
REPORT of '/main/!svn/vcc/default': 400 Bad Request (http://<url
of server>)
The same error occurs if you attempt to perform an update on any child
directory under this branch.
I have replicated this problem on six Windows XP systems - three running
SP1 and three running SP2. I have replicated the same problem using
TortoiseSVN 1.1.3 (the version we originally found the issue on) and
TortoiseSVM 1.1.4 (I updated all of these test clients to the latest
version as per the instructions).
When I attempt to update a child directory below the directory
containing the ampersand, the Apache access_log files on our RHEL3.0
server (the server that houses the repository) has the following to say:
192.168.1.218 - - [05/Apr/2005:11:48:35 +1000] "PROPFIND
/main/trunk/project%201/patches%20&%20fixes HTTP/1.1" 401 488 "-"
"SVN/1.1.4 (r13838) neon/0.24.7"
192.168.1.218 - jspiga [05/Apr/2005:11:48:35 +1000] "PROPFIND
/main/trunk/project%201/patches%20&%20fixes HTTP/1.1" 207 794 "-"
"SVN/1.1.4 (r13838) neon/0.24.7"
192.168.1.218 - jspiga [05/Apr/2005:11:48:35 +1000] "PROPFIND
/main/!svn/vcc/default HTTP/1.1" 207 394 "-" "SVN/1.1.4 (r13838)
neon/0.24.7"
192.168.1.218 - jspiga [05/Apr/2005:11:48:35 +1000] "PROPFIND
/main/!svn/bln/13656 HTTP/1.1" 207 453 "-" "SVN/1.1.4 (r13838)
neon/0.24.7"
192.168.1.218 - jspiga [05/Apr/2005:11:48:35 +1000] "PROPFIND
/main/trunk/project%201/patches%20&%20fixes HTTP/1.1" 207 794 "-"
"SVN/1.1.4 (r13838) neon/0.24.7"
192.168.1.218 - jspiga [05/Apr/2005:11:48:35 +1000] "REPORT
/main/!svn/vcc/default HTTP/1.1" 400 313 "-" "SVN/1.1.4 (r13838)
neon/0.24.7"
I have done a search for this problem and found a whole bunch of issues
that are now marked as resolved in relation to adding files and
directories with an ampersand. We aren't having this issue here - only
when trying to perform an update from the directory in the tree
containing the ampersand and below it in the tree.
I have a hunch that the update process may not be properly encoding the
ampersand character in it's HTTP requests, but then again, I could be
way off.
Since I am not subscribed to this list, I would like all replies CCd to
me.
Thanks in advance,
Jarrod Spiga
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Apr 5 08:27:14 2005