Another solution could be to use svn:ignore and set it to be ._*
and .DS_Store to prevent the files from being committed.
I tested it out and it appears to work fairly well.
On Feb 7, 2006, at 12:57 PM, Stephen Davis wrote:
> On Feb 1, 2006, at 2:18 PM, Matthew Willis wrote:
>> 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.
> To unsubscribe, e-mail: email@example.com
> For additional commands, e-mail: firstname.lastname@example.org
Received on Wed Feb 8 03:36:05 2006