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 40809

Summary: Add support for CVS/Edit
Product: versioncontrol Reporter: alexmilowski <alexmilowski>
Component: CVSAssignee: issues@versioncontrol <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: kcr, paulby
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 33773, 52137    

Description alexmilowski 2004-03-05 20:21:54 UTC
It would be much more convenient if 'Edit' was 
right on the 'CVS' menu when you right-click rather
than under the submenu of 'Editing'.
Comment 1 Martin Entlicher 2004-03-08 10:51:06 UTC
There are users, who never use the Edit command and there are also
users who use it pretty often.

There is a possibility to change the order of commands in the
Customizer (Advanced tab, "Edit Commands..." button). But we should
perhaps reconsider the default layout.
Comment 2 Maros Sandor 2005-05-03 10:42:00 UTC
Moving to CVSlite and since we do not plan to include locking I'm changing
summary accordingly.
Comment 3 Maros Sandor 2005-11-05 02:37:26 UTC
*** Issue 68136 has been marked as a duplicate of this issue. ***
Comment 4 Paul Byrne 2005-11-05 03:20:15 UTC
As 68136 has been marked as a duplicate and there is no workaround from within
the IDE I'm raising the priority.

When other users have issued a watch on a file Netbeans get's really confused
because the file is read-only.
Comment 5 Paul Byrne 2005-11-08 17:19:41 UTC
Other than requiring users to install WinCVS or Cygwin I don't know how Windows
users should workaround this issue. It needs reevaluating for 5.0 as it makes
the IDE unusable
Comment 6 Maros Sandor 2005-11-22 09:49:59 UTC
*** Issue 69082 has been marked as a duplicate of this issue. ***
Comment 7 magarcia100 2006-01-03 16:11:29 UTC
A reserved edit (cvs edit -c) would also be fine.
Comment 8 matthewh 2006-01-26 09:52:29 UTC
It's good to have a CVS "Lite" with the most commonly used commands, but who
decides what commonly used is? I like to check out read-only and use cvs edit to
make explicit my decision to work on a file, 
then my colleagues can know what I'm doing. Also, it's the defined process here.

Also, given that the find dialog often takes a while to appear, I don't know how
many times my search text has ended up inserted in the file by mistake - r/o
protects me from that.

As a bare minimum, what about restoring support for using external cvs for
user-defined commands, similar to the advanced support in vcscvs? That gets
around the problem of making the file writable from within Java (until Mustang).
It also satisfies the request for locking.
Comment 9 Paul Byrne 2006-03-03 22:06:07 UTC
THis is a bug/regression in NB 5.0 so I've updated the reference.
Comment 10 Paul Byrne 2006-03-03 22:21:49 UTC
This is a regression from NB 4.1 so I'm updating the type to DEFECT.
Comment 11 Paul Byrne 2006-04-14 16:58:28 UTC
Whats the status of this issue, can we get a commitment to fix in the next 5.x
release ?

Without this feature users are forced to use external tools to gain access to
files for editing which means you have to navigate the class hierarchy twice,
once to open the file in netbeans and discover you can't edit it, switch to
another tool find the class again and issue a cvs edit. For large projects this
is a real pain.
Comment 12 Maros Sandor 2006-06-26 13:54:40 UTC
We are currently targeting this after 5.5. Any contributors please check
http://wiki.java.net/bin/view/Netbeans/VersioningAidTeam.

*** This issue has been marked as a duplicate of 70639 ***