This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 74228 - SVN and CVS popup menu improvement.
Summary: SVN and CVS popup menu improvement.
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks: 72404
  Show dependency tree
 
Reported: 2006-03-31 09:13 UTC by Peter Pis
Modified: 2006-11-22 14:30 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2006-03-31 09:13:29 UTC
NetBeans IDE Dev (Build 060328)
1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

If project is under version of e.g. SVN it will be better not to display CVS
popup menu item (and vice versa)

Steps:
1. Create new project and import it into Subversion repository.
2. After successful import action select project root and invoke popup menu action.

There are "SVN" and "CVS" menu items. IMHO there should be only "SVN" menu item now.
Comment 1 _ pkuzel 2006-03-31 12:26:04 UTC
Yes I agree, it's circus when user import SVN or CVS versioned workdir into
other version control system because original metadata (.svn/, CVS/) can get
versioned!

Needs new API:

public service VersionControlQuery[Impl] {
   /**
    * @return null if not versioned otherwise
    * localized string describing version control
    * system used.
    */
   VersionControlInfo getVersionControlInfo(File file);
}

public class VersionControlInfo {

   String     getDescription();
   ModuleInfo getModule();
   JComponent getComponent();
}
Comment 2 Tomas Stupka 2006-10-05 10:47:07 UTC
will be solved in scope of #72404
Comment 3 Maros Sandor 2006-11-22 14:30:11 UTC
There is only one popup now.