} else {
item = menu.add(new RevertModificationsAction(loc.getString("CTL_PopupMenuItem_GetClean"), context));
}
Mnemonics.setLocalizedText(item, item.getText());
ExcludeFromCommitAction exclude = new ExcludeFromCommitAction(loc.getString("CTL_PopupMenuItem_IncludeInCommit"), context); // NOI18N
if (exclude.getActionStatus(null) != ExcludeFromCommitAction.INCLUDING) {
exclude = new ExcludeFromCommitAction(loc.getString("CTL_PopupMenuItem_ExcludeFromCommit"), context); // NOI18N
}
item = menu.add(exclude);
Mnemonics.setLocalizedText(item, item.getText());
/*