I'm using eclipse + cvs in a
test scenario to see how it works. I used VSS(Visual Source Safe, MS of course) at my last job, so I'm just trying to get my feet wet with CVS and eclipse. So, I imported an old program I was working on into an Eclipse project. Then, created a CVS entry (repository, not sure which is the correct way to say that) for it. Next, just to see how it worked, I created a new Eclipse project getting the project from CVS. All is well. An important detail, I want to be prompted to edit any code. So, I changed the preferences Team->CVS->Watch/Edit->
- I checked, "Configure projects to use Watch/Edit on checkout"
- I selected, "Send a CVS edit notification to the server"
- I selected, "Always prompt"
I think those are the correct settings for what I want, but if I'm mistaken please correct.
All that said, my problem comes in this scenario. I double click a file, it asks me if I want to edit it (submit notification etc.), I say yes. I edit and save. Now, I realize, oh, I didn't want to do that. I right click on the file, and choose Team->unedit, which I expect to restore the file to the current version in CVS without whatever changes I made. Now, it asks me "Overwrite local changes to edited files?" Sounds right too me, I answer yes. Operation in progress...then error dialog, "Problems encountered while moving resources." At this point, I can no longer edit the file, b/c CVS thinks I still have it checked out, but eclipse thinks I have already checked it in so I can't check it in.
Sorry for the length, but I thought detail here might be helpful. It seems to me a permissions problem, but I've been doing everything on my own account and all documents/cvs/eclipse project are in my home directory (subdirectories of course).
Any thoughts would be greatly appreciated,
Matt