txt.si/blog

TIP: Subversion over Samba (SMB) mounts

Content on this page is probably outdated and represents my personal knowledge, feelings and understading of things at that time .

So, I recently had to mount a Samba share and do a Subversion update on that share. It has been proven quite… challenging. Yes, I know it’s a broken concept, but it’s something I have to work with for now.
So, for Subversion to work with SMB, you have to mount the share with “nobrl”[1] option. This can be dangerous they say, so I recommend that you read the docs[1].
Sample:
//<host>/<share> </path/to/mountpoint> cifs nobrl,rw,nounix,user=<username>,password=<password>,uid=1000,gid=1000 0 0 Thanks to Neil Bird for the tip[2].

[1] - http://www.samba.org/samba/docs/man/manpages-3/mount.cifs.8.html
[2] - http://mail-archives.apache.org/mod_mbox/subversion-users/201111.mbox/%3C4EAFF02E.10000@jibbyjobby.co.uk%3E