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 Thu Apr 13 08:31:40 2006