Commit and locked files

Mumpitzstuff
Posts: 12
Joined: Mon Aug 06, 2007 12:54 pm

Commit and locked files

Postby Mumpitzstuff » Fri Aug 17, 2007 1:23 pm

It should be possible that Subversive checks the lock status before i try to commit files locked by other users. Now i get a stupid error message and can do the same commit again. The better way would be to tell the user that there is a file locked by another user.

ldornbusch
Posts: 19
Joined: Wed May 23, 2007 7:55 am
Location: Germany
Contact:

usage of svn:needs-lock property

Postby ldornbusch » Mon Aug 20, 2007 8:09 am

Hello,
you can use the svn:needs-lock property. svn will checkout the files with this property write-protected, so you need to acquire a lock via svn lock before you can edit a file.
Problem:
some file editors will not notify you about a writeprotected file and will just overwrite the old file.

Greetings,
ldornbusch

Mumpitzstuff
Posts: 12
Joined: Mon Aug 06, 2007 12:54 pm

Postby Mumpitzstuff » Mon Aug 20, 2007 11:49 am

We use the property svn:needs-lock and therefore we have the problem that we can't make temporary local changes without getting a lock. Sometimes it is really useful to allow other developers to change a file ( get a lock) if you want to add some debugging stuff only temporary. So it would be nice to have the option "Get lock" and "Make file writable".
At the moment we have to use the property dialog of the C/C++ view to remove the write protection.

Alexander Gurov
Posts: 205
Joined: Fri Mar 17, 2006 11:33 am

Postby Alexander Gurov » Wed Sep 19, 2007 1:33 pm

Best regards,
Alexander Gurov
Subversive Team


Return to “Polarion Subversive - Eclipse Client for SVN”

Who is online

Users browsing this forum: No registered users and 1 guest