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

Re: Bug involving locked files and "&" character in filenames

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-06-16 14:55:37 CEST

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
Received on Thu Jun 16 15:04:31 2005

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.