Prevent file from being commited to CVS [message #509364] |
Fri, 22 January 2010 09:20 |
Axel Mueller Messages: 1973 Registered: July 2009 |
Senior Member |
|
|
Regard the following scenario:
1. I have made some local changes to a file that is under CVS control
2. I know that I will never (and should not!) commit these changes back to CVS (e.g. I activated some debug code that is only necessary for local debugging)
What I want is to "lock" the file locally. That is, I am not able to commit this file to CVS. But a CVS sync will still show me if a new version exists (and I can merge locally). Of course, I should be able to remove the lock when I reverted my temporary changes.
Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
|
|
|
|
|
|
|
Re: Prevent file from being commited to CVS [message #511302 is a reply to message #511234] |
Mon, 01 February 2010 08:20 |
Axel Mueller Messages: 1973 Registered: July 2009 |
Senior Member |
|
|
Quote: | In 'Team Synchronizing' perspective, right click on an outgoing change
-> add to .cvsignore
|
Unfortunately, the .cvsignore trick does not work. Eclipse greys out the "Add to .cvsignore" option if the file is already under CVS control. Manually adding the file to .cvsignore does not work either. It seems .cvsignore (and Eclipse) ignores files that are under CVS control. The same holds for the Team>Ignored Resources preference page.
Quote: | please have a look at bug 112549 which looks similar.
|
There are some similarities between my request and this bug, but I guess I have to open a new bugzilla request.
(see https://bugs.eclipse.org/bugs/show_bug.cgi?id=301389)
Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
[Updated on: Mon, 01 February 2010 08:25] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03395 seconds