[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: Stephane Roy <stephane_at_northwestern.edu>
Date: 2006-11-09 19:37:30 CET

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 Thu Nov 9 20:29:24 2006

This is an archived mail posted to the Subversion Users mailing list.