You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andy Hickman <an...@gmail.com> on 2005/06/16 09:03:10 UTC
Bug involving locked files and "&" character in filenames
Hi,
I think I've found a problem with committing locked files that contain the "&"
character in their filename.
This does not appear to be the same problem as 2268.
% svn --version
svn, version 1.2.0 (r14790)
compiled May 22 2005, 22:40:26
..
% echo "foo" > foo\&.txt
% cat foo\&.txt
foo
% svn add foo\&.txt
A foo&.txt
% svn ci -m "First add" foo\&.txt
Adding foo&.txt
Transmitting file data .
Committed revision 42.
% svn lock foo\&.txt
'foo&.txt' locked by user 'hickmana'.
% echo bar >> foo\&.txt
% svn ci -m "Added bar" foo\&.txt
Sending foo&.txt
Transmitting file data .svn: Commit failed (details follow):
svn: MERGE request failed on '/svn/test2'
svn: MERGE of '/svn/test2': 400 Bad Request (http://xxx)
# Commit fails!
% svn unlock foo\&.txt
'foo&.txt' unlocked.
% svn ci -m "Added bar" foo\&.txt
Sending foo&.txt
Transmitting file data .
Committed revision 43.
# Unlock the file and commit succeeds!
Does this need to be filed as a bug?
Best regards,
Andy Hickman
Re: Bug involving locked files and "&" character in filenames
Posted by Ben Collins-Sussman <su...@collab.net>.
Yes, would you file it as a bug? I'd like to investigate the HTTP
traffic.
On Jun 16, 2005, at 4:03 AM, Andy Hickman wrote:
> Hi,
>
>
>
> I think I’ve found a problem with committing locked files that
> contain the “&” character in their filename.
>
>
>
> This does not appear to be the same problem as 2268.
>
>
>
> % svn --version
>
> svn, version 1.2.0 (r14790)
>
> compiled May 22 2005, 22:40:26
>
> ….
>
> % echo "foo" > foo\&.txt
>
> % cat foo\&.txt
>
> foo
>
> % svn add foo\&.txt
>
> A foo&.txt
>
> % svn ci -m "First add" foo\&.txt
>
> Adding foo&.txt
>
> Transmitting file data .
>
> Committed revision 42.
>
> % svn lock foo\&.txt
>
> 'foo&.txt' locked by user 'hickmana'.
>
> % echo bar >> foo\&.txt
>
> % svn ci -m "Added bar" foo\&.txt
>
> Sending foo&.txt
>
> Transmitting file data .svn: Commit failed (details follow):
>
> svn: MERGE request failed on '/svn/test2'
>
> svn: MERGE of '/svn/test2': 400 Bad Request (http://xxx)
>
> # Commit fails!
>
> % svn unlock foo\&.txt
>
> 'foo&.txt' unlocked.
>
> % svn ci -m "Added bar" foo\&.txt
>
> Sending foo&.txt
>
> Transmitting file data .
>
> Committed revision 43.
>
> # Unlock the file and commit succeeds!
>
>
>
> Does this need to be filed as a bug?
>
>
>
> Best regards,
>
> Andy Hickman
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org