On 7/3/07, Johan Gustafsson <firstname.lastname@example.org> wrote:
> Hello everyone,
> I have just installed a TortoiseSVN server and a client, both on
> Windows XP computers. The connection between the computers work fine
> but when I try to edit a file I get a grey check box icon, which I
> have read means that non-locked files are made read-only (I guess that
> the svn:needs-lock it set). I believe that this is a good setting as
> we will only be editing LabView code and not any text files.
> I am not able to save files which is correct due to the write
> protection attribute. But when I try to "get lock" for a file that I
> want to edit, I get a message back "Lock finished!" and "Locked by..".
> Although I still have the grey check box and I still can't save files
> that are edited.
> When I click Commit, it displays that changes have been made to the
> file, but when I click ok nothing is being submitted.
> I can solve the problem by manually unchecking the write protection
> in the file attributes and then changing the file and checking it in.
> What I wonder is if this should be necessary? I get the same behavior
> on both the client and server and couldn't find any solution in the
> manual or FAQ. Any help would be greatly appreciated.
> Johan Gustafsson, Sweden.
I can recreate this behavior by adding and checking in a read-only file.
(Windows, haven't tested on UNIX yet.) If the permissions are set to
read-only and the file is added and commited, the grey lock badge will
appear on the file even though the needs-lock property is not set. Fresh
checkouts of the file are read-write.
Have you actually checked to see if the files have the needs-lock property?
If it is not present on the files, then something other than TSVN is
applying the read-only attribute to your files.
Are fresh checkouts of the files read-only?
Received on Thu Jul 5 16:07:46 2007