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

[BUG] can't update or checkout files with same names under Windows XP

From: Liu Yubao <yubao.liu_at_accesschina.com.cn>
Date: Wed, 23 Jan 2008 17:30:42 +0800

Hi,
    I found Subversion can't process files with same names under Windows
XP, this problem
is very annoying:

-----------------------------> begin
set T=d:/temp/t

cd /d d:\temp\t

rd /s/q repos wc
svnadmin create repos
svn mkdir -m "mkdir a directory" file:///%T%/repos/dir
svn co file:///%T%/repos wc
cd wc/dir

sleep 2
echo hello > aa
svn add aa

sleep 2
svn commit -m "add aa" .
del aa

sleep 2
echo world > AA
svn add AA

sleep 2
svn commit -m "add AA" .

sleep 2
cd ..
rd /s/q dir
svn up
------------------------------------------------------> end

"svn up" reports:

A dir
A dir\AA
A dir\aa
svn: In directory 'dir'
svn: Can't copy 'dir\.svn\tmp\text-base\aa.svn-base' to
'dir\.svn\tmp\aa.tmp.tmp'

"svn co file:///%T%/repos wc2" reports the same error message.

I hope Subversion and TortoiseSVN can process this case properly:
(1) when execute "svn add" under Windows, check whether there is a same
name file
in the same directory.

(2) when execute "svn update" or "svn checkout" under Windows, don't
break the
*whole process* if this name conflict happens, and report a clear error
message like
"There is a file name conflict, '...../aa' and '..../AA' have same name
that is not allowed
under Windows, you can rename them directly in the repository."

I use subversion 1.4.5 (r25188) and TortoiseSVN 1.4.5 (Build 10425).

I don't subscribe these mail lists, please CC to me, thanks!

Best regards,

Liu Yubao

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-01-23 10:35:39 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.