pero
pero

Reputation: 4259

SVN and read-only files

I'm new to subversion. When I do SVN checkout of a repository I get all files with read-only attribute set. I thought that SVN works differently and leaves files read-write all the time. I tried to remove RO attribute, change the files and commit them, but SVN sets them read-only again.

I'm using TortoiseSVN 1.6.5, Build 16974 - 32 Bit , 2009/08/20 08:13:46

Upvotes: 2

Views: 4344

Answers (3)

pero
pero

Reputation: 4259

It wasn't SVN related at all, at least not directly.

I have PushOk installed on my machine because we are using CVS on other projects. And PushOk sets up an "SCC RW Monitor" service that sets RO attribute "for the correct behavior of IDE systems". I turned monitoring SVN files off and now it works as expected.

Upvotes: 1

Frank Bollack
Frank Bollack

Reputation: 25166

I Agree to Roger.

You could try to acquire a Lock on the files you want to modify. This removes the RO attribute until you release the files again. Use TortoiseSVN → Get Lock...

To release the lock commit the files or remove manually via TortoiseSVN → Release Lock

Look at chapter 4.21. Locking in the TortoiseSVN help

Upvotes: 1

Roger Lipscombe
Roger Lipscombe

Reputation: 91825

Do the files have the svn:needs-lock property set on them?

Upvotes: 1

Related Questions