[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: Lars Heineken <lars.heineken_at_disimage.com>
Date: 2006-04-13 09:26:53 CEST

Out of personal experience, you should avoid having your working copy on
an SMB drive if possible as it comes with severe performance issues as
well.

-----Original Message-----
From: Peter Welte [mailto:weltepe@gmail.com]
Sent: Thursday, April 13, 2006 8:30 AM
To: users@subversion.tigris.org
Subject: commit, with working copy on SMB share not working

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 13 09:28:11 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.