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

Re: commit, with working copy on SMB share not working

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-11-10 22:41:26 CET

I can find no report in the issue tracker about this problem. Since
multiple people have reported the problem to the list over a period
of months and across several versions of Subversion, I would call
this a genuine bug that should at least be logged in the tracker. Any
opinions on this?

On Nov 9, 2006, at 12:37, Stephane Roy wrote:

> Glad I found this - I've been trying without success to do the same
> thing. Repository is using svn version 1.4 on OSX 10.4.8, trying to
> checkout a working copy onto an smb mounted share from a linux
> machine with smbd version 3.0.10-1.fc2
>
> I get the same errors as discussed in this thread.
> Now I can stop trying.
>
> -stephane
>
>
>> Hello all,
>>
>> Has anyone had troubles checking out a working copy into a directory
>> which is on a SMB share? Problems seem to occur with empty files in
>> the repository, or (as shown below) when attempting to commit empty
>> files.
>>
>> specifics:
>> OS: Mac 10.4.6
>> svn version 1.3.1 (r19032)
>> repository is on http
>> SMB server is SAMBA (Version 3.0.10)
>>
>> I haven't tried this on Windows or Linux yet. My repository is an
>> empty one created for testing. I have tried testing this where the
>> working copy is on a local hard drive, and also where the working
>> copy
>> is on an NFS mount (and those two cases work).
>>
>>
>> Peters-Computer:~/netlauren/dbg lauren$ svn co http://athena/svn/
>> repo/trunk repo
>> Checked out revision 1.
>> Peters-Computer:~/netlauren/dbg lauren$ cd repo/
>> Peters-Computer:~/netlauren/dbg/repo lauren$ ls
>> Peters-Computer:~/netlauren/dbg/repo lauren$ touch empty
>> Peters-Computer:~/netlauren/dbg/repo lauren$ svn stat
>> ? empty
>> Peters-Computer:~/netlauren/dbg/repo lauren$ svn add empty
>> A empty
>> Peters-Computer:~/netlauren/dbg/repo lauren$ svn commit -m "add empty
>> file, commit will fail"
>> Adding empty
>> Transmitting file data .svn: Commit failed (details follow):
>> svn: Can't copy '/Volumes/LAUREN/dbg/repo/empty' to
>> '/Volumes/LAUREN/dbg/repo/.svn/tmp/text-base/empty.svn-base.tmp':
>> Input/output error
>> Peters-Computer:~/netlauren/dbg/repo lauren$ ls -l
>> total 0
>> -rwx------ 1 lauren admin 0 Apr 12 23:09 empty
>> Peters-Computer:~/netlauren/dbg/repo lauren$ ls -l .svn/tmp/text-base
>> total 0
>> -rwx------ 1 lauren admin 0 Apr 12 23:10 empty.svn-base.tmp
>>
>>
>> Adding non empty file works:
>>
>> Peter-Computer:~/netlauren/dbg/repo lauren$ svn revert empty
>> Reverted 'empty'
>> Peter-Computer:~/netlauren/dbg/repo lauren$ svn stat
>> ? empty
>> Peter-Computer:~/netlauren/dbg/repo lauren$ echo "hello" > nonempty
>> Peter-Computer:~/netlauren/dbg/repo lauren$ svn stat
>> ? nonempty
>> ? empty
>> Peter-Computer:~/netlauren/dbg/repo lauren$ svn add nonempty
>> A nonempty
>> Peter-Computer:~/netlauren/dbg/repo lauren$ svn commit -m "added
>> nonempty file, commit will work"
>> Adding nonempty
>> Transmitting file data .
>> Committed revision 2.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 10 22:42: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.