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

4 comments
Comment actions Permalink

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

0
Comment actions Permalink

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 ;) )?

0
Comment actions Permalink

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...

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 ;) )?


0
Comment actions Permalink

Thanks a lot!!! Now it is enouhg :)

0

Please sign in to leave a comment.