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

Re: ** Help ** ! Makefile

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-12-25 11:19:32 CET

On Dec 25, 2007, at 00:04, paptimusx scirocco wrote:

> Though it doesn't understand the cause, I copied the repository
> to other XP machine(5.1.2600, not a Unix). It succeeded when
> accessing it via file:///.

I don't see why it would make a difference which Windows machine
you're on...

> but It failed in an original server machine. and 'svn rm' over
> http:// failed in GUI client (RapidSVN).
>
> I do not understand. what happened to it?

I don't understand either. What error message did RapidSVN give you?

> # however, as a result, the collision of the file name was able
> to be solved.
>
> thank you.

Well so long as it solved, that's good!

You may want to now install a pre-commit hook to prevent the addition
of any file whose name conflicts with an existing file in case, so
that you don't run into this problem again. There's a script called
check-case-insensitive.pl provided in the contrib/hook-scripts
directory of the Subversion tarball which can do this for you.

You may also want to read this related FAQ item:

http://subversion.tigris.org/faq.html#case-change

> I do not understand why to have caused the problem of the file
> name with there only Windows machines...

Oh, it's not difficult to cause this problem, regardless what OS
you're running on. Here's one reproduction recipe from my Mac, for
example:

$ svnadmin create repo
$ touch file
$ svn import file file://`pwd`/repo/foo -m ""
Adding file

Committed revision 1.
$ svn import file file://`pwd`/repo/FOO -m ""
Adding file

Committed revision 2.
$ svn co file://`pwd`/repo wc
A wc/FOO
A wc/foo
svn: In directory 'wc'
svn: Can't copy 'wc/.svn/tmp/text-base/foo.svn-base' to 'wc/.svn/tmp/
foo.tmp.tmp': Unknown error: 0
$

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 25 11:20:12 2007

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.