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

Re: Checkout failure

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-09-14 23:54:40 CEST

On Sep 14, 2005, at 23:14, Paul Koning wrote:

> Third test, this time using my Mac as the client (still Linux as the
> server).
> [snip]
> Eventually, the operations fails with this message:
> svn: in directory 'NetBSD162/src/EQL/etc/rc.d'
> svn: Can't open file
> 'NetBSD162/src/EQL/etc/rc.d/.svn/tmp/text-base-/NETWORK.svn-base':
> no such file or directory

Do you have two items in this directory whose names differ only in
case? For example, "NETWORK" and "Network"? If so, then that can only
function on a case-sensitive file system like the ones you usually
get on Linux and most other Unix-like operating systems, and on Mac
OS X with case-sensitive Mac OS Extended and UFS, but not on normal
Mac OS Extended nor on the file systems you usually see on Windows
operating systems.

$ cd /tmp
$ svnadmin create repo
$ svn co file:///tmp/repo wc1
Checked out revision 0.
$ svn co file:///tmp/repo wc2
Checked out revision 0.
$ cd wc1
$ touch NETWORK
$ svn add NETWORK
A NETWORK
$ svn ci -m "Adding NETWORK"
Adding NETWORK
Transmitting file data .
Committed revision 1.
$ cd ../wc2
$ touch Network
$ svn add Network
A Network
$ svn ci -m "Adding Network"
Adding Network
Transmitting file data .
Committed revision 2.
$ cd ..
$ svn co file:///tmp/repo wc3
A wc3/NETWORK
A wc3/Network
svn: In directory 'wc3'
svn: Can't copy 'wc3/.svn/tmp/text-base/Network.svn-base' to 'wc3/
Network.tmp': No such file or directory
$ uname -v
Darwin Kernel Version 8.2.0: Fri Jun 24 17:46:54 PDT 2005;
root:xnu-792.2.4.obj~3/RELEASE_PPC
$ svn --version | head -n 1
svn, version 1.2.3 (r15833)
$

The above is expected for a case-insensitive file system. If I had
wanted to prevent items whose names differs only in case from that of
an existing item from being committed, I would have used a pre-commit
hook script provided in the contrib directory of the Subversion
source distribution which exists for this purpose.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 14 23:57:35 2005

This is an archived mail posted to the Subversion Users mailing list.