On Tue, Jan 10, 2012 at 6:29 PM, Ryan Schmidt
<subversion-2012a_at_ryandesign.com> wrote:
>
> On Jan 10, 2012, at 10:16, Bethel, Zach wrote:
>
>> I am encountering a strange issue. I have a Linux server (I tried both RHEL 6 and Ubuntu Server 11.03) exporting a folder on an EXT3 partition via NFS. I also have a Mac OS X Lion client that is mounting that NFS share. There is a repository on the SVN server that checks out fine to the local disk of the Mac. It also checks out fine to an NFS mounted folder on a Linux client. However, when I try to check it out to a folder on the Mac that is mounted with NFS via the command 'svn co URL', I get the following error on the terminal:
>>
>> svn: In directory 'NAV/trunk/VerseMinder/VerseMinder/VerseMinder'
>> svn: Can't open file 'NAV/trunk/VerseMinder/VerseMinder/VerseMinder/.svn/tmp/text-base/._FlashCard.m.svn-base': No such file or directory
>>
>> From what I can tell, I get no information in system.log. I have tried this using a Samba mount as well and receive the same error. The error happens every time and at the same point in the process. Does anybody have any idea what could be going on? We've tried both NFS 3 and 4 (and Samba) with the same result. I am beginning to think this may be an SVN bug.
>
> Well, "._" is the prefix of an AppleDouble file:
>
> http://en.wikipedia.org/wiki/AppleSingle_and_AppleDouble_formats
>
> Presumably OS X is trying to store some extended attributes for the FlashCards.m file, and because the directory is on NFS, has to resort to using an AppleDouble file to store that information, but for some reason the server is not storing it. Or perhaps what happens is that, when FlashCards.m is initially created by svn in your working copy, presumably in a directory other than tmp/text-base (perhaps directly in tmp?), the ._FlashCards.m file is made there as well, but when svn then moves FlashCards.m into tmp/textbase, it doesn't also move the ._FlashCards.m file as well.
>
> I'm not sure exactly what is going on, but I'm pretty sure the problem will go away if you check out to a local disk, which is what we recommend anyway. Subversion often does not work well on NFS so I suggest you avoid it.
>
> Or do you actually have ._FlashCards.m in the repository? If so, then you should probably remove it and any other AppleDouble files from the repository, and add autoprops to ignore AppleDouble files, and add a pre-commit hook to prevent committing them.
Just wanted to add: the fact that you mention ".svn/tmp/text-base"
indicates that you're using svn 1.6 or older. Can you try the same
with the latest version, i.e. a 1.7 svn client?
--
Johan
Received on 2012-01-10 21:49:19 CET