Details
-
Suggestion
-
Resolution: Done
-
P4: Low
-
Qt Creator 2.0.0
-
None
-
cc533b40c87e436a8fc948d91061cb8a825128c6
Description
CVS supports at least 2 different ways to handle changes in files :
Free/open mode:
Everything is checked out read/write, and you can change things as you like.
Edit/unedit mode:
Files are checked out read only, and are made writable if you set an editor on the file. This marks the file as being edited by you on the server, plus you can make diffs on the file locally, since it makes a copy of the original.
Qt Creator handles the first situation, but I would like it to be able to handle the second situation since this is what we use at my work place. It is getting rather annoying to have to switch to crossvc every time I need to edit a file.
What I propose it the following:
When a CVS controlled file is being edited in QtCreator and is read only, make an editor on it. Preferrably check the file for an editor on the server first and warn the user if someone else is editing it already.
Alternatively make a menu option for edit/unedit.