You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Dmitry Bely <db...@mail.ru> on 2004/03/30 05:34:28 UTC

URL case-sensitivity problems under Windows

Some SVN commands allow any case in URLs (e.g. merge), while some other
command do not (e.g. commit). IMHO it leads to unobvious errors. Let's
consider the following scenario:

[--- test.bat ---]
mkdir tmpdir
cd tmpdir
mkdir trunk
mkdir branch
svnadmin create c:/work/svnrepos/test-url-case
svn import . file:///c:/work/svnrepos/test-url-case -m "Initial repository layout"
cd ..
rmdir /s /q tmpdir
svn co file:///c:/work/svnrepos/test-url-case/trunk trunk
cd trunk
echo 1 > file1
svn add file1
svn ci -m "trunk1"
cd ..
svn copy file:///c:/work/svnrepos/test-url-case/trunk file:///c:/work/svnrepos/test-url-case/branch -m "create branch1"
svn co file:///c:/work/svnrepos/test-url-case/branch branch
cd branch
echo 2 > file2
svn add file2
svn ci -m "branch1"
cd ..\trunk
rem ***********************************************
rem Note that c:/Work is written in different case!
rem ***********************************************
svn merge -r 3:4 file:///c:/Work/svnrepos/test-url-case/branch
svn ci -m "merge"
[--- end of test ---]

it fails with:

C:\Work\test-url-case\trunk>svn ci -m "merge"
Adding         file2
svn: Commit failed (details follow):
svn: Source url '/trunk/file2' is from different repository

I think it should be fixed some way - either all commands should ignore
URL case or all should check it.

- Dmitry Bely



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: URL case-sensitivity problems under Windows

Posted by kf...@collab.net.
Dmitry Bely <db...@mail.ru> writes:
> Dmitry Bely <db...@mail.ru> writes:
> 
> [...]
> 
> It turns out to be the known issue:
> 
> http://subversion.tigris.org/issues/show_bug.cgi?id=1495
> 
> I am very sorry for missing this report initially.

It's no big deal -- glad you found it.  If you have any new wrinkles
to add, go ahead and put them in the issue.

-Karl



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: URL case-sensitivity problems under Windows

Posted by Dmitry Bely <db...@mail.ru>.
Dmitry Bely <db...@mail.ru> writes:

[...]

It turns out to be the known issue:

http://subversion.tigris.org/issues/show_bug.cgi?id=1495

I am very sorry for missing this report initially.

- Dmitry Bely



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org