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

Re: Problem Checking out on Windows

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-09-05 00:40:13 CEST

On Sep 4, 2007, at 15:40, Troy Bull wrote:

> I have a repository when I check it out on windows using the
> following command:
>
> svn co "file:///C:/Work/Park/branches/Fall Release 2007"
>
> it checks out several files then fails with the following error :
>
> svn: In directory 'Fall Release 2007/Documentation/Product Design'
> svn: Can't copy 'Fall Release 2007/Documentation/Product
> Design/.svn/tmp/text-base/
> IFD_asset_management_reports_appendix_2.pdf.svn-base'
> to 'Fall Release 2007/Documentation/Product
> Design/.svn/tmp/IFD_asset_management_reports_appendix_2.pdf.tmp.tmp':
> No such file or directory
>
> It seems to check out on unix ok..

Do you have two files in that directory whose names differ only in
case? For example, "IFD_asset_management_reports_appendix_2.pdf" and
"ifd_asset_management_reports_appendix_2.pdf" or
"IFD_asset_management_reports_appendix_2.PDF"? If so, you cannot
check that out to a case-insensitive file system, like the ones you
usually get with Windows or Mac OS X. You can check it out to a case-
sensitive file system, like the ones you usually get with Unix, Linux
and so forth.

Use

svn ls "file:///C:/Work/Park/branches/Fall Release 2007"

to discover if there are two such conflicting files. If so, discover
(on your Unix machine, perhaps, or by using "svn cat" on both files
separately) which one you want to keep, and "svn rm" the URL to the
one you want to delete, or if you want to keep both, use "svn mv"
with URLs to rename one of them to a non-conflicting name.

There is a pre-commit hook you can install in the repository which
would prevent future commits of files whose names differ only in case
from something that's already in the repository, which would prevent
this situation in the future.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 5 00:38:45 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.