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

Re: Fwd: Subversion AppleDouble patch updated to 1.5.0

From: Steve Sisak <sgs_at_codewell.com>
Date: Mon, 11 Aug 2008 10:50:33 -0400

At 3:46 PM +0200 8/11/08, Stefan Sperling wrote:
>That is true. But still, by that argument we should all be using
>wrapped clients on UNIX to version symlinks and exectutable bits.
>It would be nice if we could, in the long term, support more
>OS-specific features out of the box.

That says what I was trying to far better than I could. Thanks.

>This problem must be really old. I can't imagine that this argument
>hasn't come up before. Wasn't some consensus about the validity of
>such special properties reached somewhere in the past already?

We crossed posts, so I'll repeat the URLs from my previous try last year:


The usual resolution is that the unix guys say "can you just write a
wrapper for your non-standard OS and doesn't fit our design?" and the
Mac guys give up and call the unix guys dismissive. ;-)

We discussed in great detail agreed to let it lie until 1.5 shipped
-- so I'm bringing it up again a year later.

(re-ordering replies slightly for clarity)

>I wonder if the patch is the way to go.
>I mean, where do we draw the line?
>If we have svn:executable, why not have svn:appledouble?

That was my argument -- it's a solution, it exists, and it doesn't
interfere with other platforms. For Mac OS, this has been well
defined for years (like 20).

In general, I would argue that the general form is that there should
be code in each platform client to save/restore that platform's
unique attributes.

Also, things like file creation and modification dates might want to
be synthesized from the repository.

This doesn't rule out cross-platform attributes -- an example being
that symlinks/aliases/shortcuts within a repository could be detected
stored in an canonical form (probably relative symlink), but that is
a separate discussion.

A slight generalization on Matt's patch would be to call listxattr()
on Mac OS X 10.4 and newer and save/restore all extended attributes
possibly with with an "xattr:" prefix with some glue for pre-10.4
(note that there's slight overlap between appledouble and xattr,
notably com.apple.FinderInfo).



To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-11 16:51:04 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.