VCS plugin's question (Mark Project as Current item)
Hallo all, I have wrote VCS plugin for CM Synergy (Telelogic) source control tool. I like everything but only one item in a popup menu. It is "Mark Project as Current" item. I did not defined it and, actually, I do really not want to have it. Problem is that I cannot switch is off or remove.
Does anyone know how to handle this menu item?
Thank you in advance
请先登录再写评论。
This is important if you use the LVCS to record history. This menu item allows a user to tell IDEA to purge the list of changes accumulated so far. That way any subsequent Check In Project will pick up only any changes made after that point.
I believe when you start a project by default everything is new. You have to use this command to clear the history.
Hope this help
Jacques
Thanks! it helps.
Is there any API to control that? CM Synergy is, so called, Task-related CVS and I need to purge changes for a set file, not for all. Can I do that? Is there any example (I do not think there is a documentation ;) )?
AbstractVcsHelper.getInstance(project).markFileAsUpToDate(file);
this should do what you want.
-Dash.
"Serge" <s.shafarenka@web.de> wrote in message
news:12066751.1061456451476.JavaMail.itn@is.intellij.net...
>
CVS and I need to purge changes for a set file, not for all. Can I do that?
Is there any example (I do not think there is a documentation ;) )?
Thanks a lot!!! Now it is enouhg :)