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

Bug involving locked files and "&" character in filenames

From: Andy Hickman <andrew.j.hickman_at_gmail.com>
Date: 2005-06-16 11:03:10 CEST

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

 
Received on Thu Jun 16 11:10:14 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.