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

RE: Bug in svn on MacOS X 10.4 with ._ files on UFS

From: Jake Robb <jakerobb_at_mac.com>
Date: 2005-06-01 17:33:36 CEST

._ files can contain important file content. They provide the multiple data
stream functionality on filesystems which do not support multiple data
streams. Since the file ._foo.c is technically supposed to be *part* of the
parent file foo.c, I think it's completely reasonable to want it under
version control. (not that .c files are a good example of files with
multiple data streams)

Question: if I'm using HFS+ on OS X (which does support multiple data
streams), and I commit a file with multiple data streams, will Subversion
commit all streams, or just the first one? If only the first stream is
committed, then this is the actual issue at hand. Subversion should commit
all streams, regardless of which filesystem is being used.

-Jake

-----Original Message-----
From: Ben Collins-Sussman [mailto:sussman@collab.net]
Sent: Wednesday, June 01, 2005 11:20 AM
To: Ryan Schmidt
Cc: Geoffrey Alan Washburn; Subversion List
Subject: Re: Bug in svn on MacOS X 10.4 with ._ files on UFS

On Jun 1, 2005, at 4:18 AM, Ryan Schmidt wrote:

>
> I was pretty sure I'd heard from others on this list that they're
> using Subversion on 10.4 without problems. But maybe they're not
> using any files with a ._ component? or maybe they're not using UFS?
>

Ryan, I just spoke with fitz, who is a former apple guy, and I think
your analysis is spot-on. If both 'foo' and '._foo' are in the
repository, then 'svn checkout' downloads the files into .svn/tmp/.
It then asks APR to move 'foo' into the visible working area... but
then the darwin kernel moves *both* files when this happens.

This is effectively a 10.4 kernel feature... or bug, depending on how
you look at it. APR asks the OS to move a file, and it moves 2 files
instead. I don't think there's anything either Subversion or APR can
do about this. The only advice is either (1) don't use UFS, or (2)
don't put ._foo files under version control (why would you do that
anyway?)

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 1 17:38:52 2005

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.