[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-02 16:21:42 CEST

This is exactly the reason that Apple recommends that developers ignore ._
files as a filesystem implementation detail. OS routines exist which allow
the developer to query and modify a file's extended attributes, regardless
of whether it's a second fork in an HFS+ file, or a ._ file on UFS. If
Subversion is to be able to properly handle ._ files on OS X, it MUST
support the extended attributes (xattr) system.

It sounds to me like this idea has some support, and I'm thinking it's
likely that extended attributes will be a new feature in an upcoming
version. However, since I have absolutely nothing to do with Subversion
development, my opinion doesn't count for much. :-)

At this time, I think that files with nontrivial resource forks (or other
extended attributes) should be managed outside of Subversion. I haven't
heard any good method to preserve them in the repository. Anyone?

-Jake

-----Original Message-----
From: Vincent Lefevre [mailto:vincent+svn@vinc17.org]
Sent: Thursday, June 02, 2005 10:08 AM
To: users@subversion.tigris.org
Subject: Re: Bug in svn on MacOS X 10.4 with ._ files on UFS

On 2005-06-02 14:39:11 +0200, Ryan Schmidt wrote:
> On 02.06.2005, at 13:57, Vincent Lefevre wrote:
>
> >On 2005-06-01 18:37:38 +0200, Ryan Schmidt wrote:
> >
> >>So if we say that someone might legitimately want to check in a ._
> >>file, how would she do so? Would she have to put her working copy on
> >>a non-HFS+ partition or disk image?
> >
> >Aren't there similar problems with case-insensitive file systems?
>
> Sorry, I don't think I follow what you're asking....

You're saying that someone may want to check in a ._ file. This can
be done on a non-HFS+ partition. But someone who will check out that
on a HFS+ partition will probably get an error or some other kind of
clash, because ._ files are handled in a special way there.

What I'm thinking of is that there's the same kind of problems with
case-insensitive file systems. If someone checks in "foo" and "Foo"
from a case-sensitive file system, what happens when one checks out
these files on a case-insensitive file system? Does Subversion have
some workaround and could it be used for ._ files (on HFS+) too?

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
---------------------------------------------------------------------
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 Thu Jun 2 16:45:05 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.