I am trying to use subversion on a linux machine, the repository is on a Microsoft sbs2008 server. (I can access the repository from a Microsoft Windows 7 machine.) Can some one tell me how to get it to work?
This is what I have done.
# sudo mount -t cifs -v -o credentials=~/Files/server-mount-credentials,uid=richard,nocase,nounix,nosuid //sbs2008/local ~/Files/server-mount/
# svn commit -m ""
Adding file1
Sending file2
Transmitting file data ........svn: Commit failed (details follow):
svn: database is locked
The strace shows:
open("/home/rdelorenzi/Files/server-mount/svn_repository/db/rep-cache.db", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 12
...
_llseek(12, 162816, [162816], SEEK_SET) = 0
read(12, "
201 1 1N1|12521330260242b222022762354332"..., 1024) = 1024
_llseek(12, 100352, [100352], SEEK_SET) = 0
read(12, "
24ii2273053631!1O1}12531331270252c"..., 1024) = 1024
_llseek(12, 52224, [52224], SEEK_SET) = 0
read(12, "
24k2313073651#1Q11771255133320272d2222"..., 1024) = 1024
fcntl64(12, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=1073741824, len=1}, 0xbf8e15e8) = 0
fcntl64(12, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=1073741826, len=510}, 0xbf8e15e8) = -1 EACCES (Permission denied)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…