OK guys so I ended up upgrading the subversion server to 1.6.12 the same as
TortoiseSVN is built against.
Now I am able to checkout the repositories through TSVN but whenever I try
to commit I get the following error message:
$Commit failed (details follow):
$Couldn't perform atomic initialization
$database is locked

This is what I did:

1. I mounted the windows shared network location like this:
mount -t cifs //software/svn_repositories /var/lib/svn/ -o
username=mynet/techgeek,password=******,uid=www-data,gid=subversion,iocharset=utf8

2. Created a repository:
cd /var/lib/svn
svnadmin create projectA
Edited the svnserve.conf and passwd file to enable authentication for
svnserve.

3. svnserve -d -r /var/lib/svn

4. Checked out the repo from TSVN which worked fine

5. On committing from TSVN I get the above error message.

6. I also tried mounting as:
 mount -t cifs //software/svn_repositories /var/lib/svn/ -o
username=mynet/techgeek,password=******,iocharset=utf8,file_mode=0777,dir_mode=0777

but I get the same error message.
However if I create the repository on the local Linux filesystem instead of
shared network drive, then everything works fine from TSVN.

Note: I am using svn:// protocol to checkout and commit.

Any ideas?

Reply via email to