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

Re: Problem with ._ files on Mac OS X and SVN Autoversioning on

From: Stephen Davis <subversion_at_soundgeek.org>
Date: 2006-02-07 21:57:21 CET

On Feb 1, 2006, at 2:18 PM, Matthew Willis wrote:

> Hello.
> I'm hoping the list can help me with an issue we're currently having.
>
> The scenario:
> Server: Mac OS X Server 10.4.3, Subversion 1.3.0 with Apache 2.2.0
> and APR 1.2.2, all built from source. FSFS repository, sitting on
> Adic StorNext/Apple Xsan filesystem.
>
> To enable easier access for some content developers who must work
> through SSL VPNs, I recently enabled SVN Autoversioning.
>
> The Mac OS X users can mount the WebDAV share just fine, and their
> changes are committed successfully.
> However, since Mac OS X doesn't think the WebDAV server can handle
> xattr information, it creates ._ files on the WebDAV share, and
> these are dutifully added to the repository.
> The problem then appears when a Mac OS X user using standard
> Subversion (rather than the WebDAV share) attempts to update their
> working copy.
> They receive errors such as
> svn: Can't copy 'assets/48/final/.svn/tmp/text-base/._.DS_Store.svn-
> base' to 'assets/48/final/._.DS_Store.tmp': No such file or directory
>
> I've read the threads on the developer list regarding resource
> forks, non-HFS+ filesystems, ._ files, and xattrs, but this I
> didn't see this particular scenario mentioned.
>
> Does anyone have a suggesstion as to how to prevent this problem?
> Are commit hooks invoked when using autoversioning? If so, could I
> create a hook that would silently neglect to commit the ._ files?

If the only extended attribute files (._XXX) are being written for
the corresponding Finder .DS_Store files, I believe you can set a
hidden pref in the Finder which will prevent it from
writing .DS_Store files to remote volumes. There is a shareware (?)
system pref pane called Tinker Tool which will let you set this pref
in the Finder. If you set this on all the client machines, that
should prevent the Finder from writing .DS_Store files onto the
autoversioning WebDAV volumes.

Caveat: I haven't used this feature myself but a friend of mind has
for SMB volumes mounted from his PC and he says it works great. It
*should* apply to WebDAV volumes as well.

hth,
stephen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 7 22:00:13 2006

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.