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 89805

Summary: Add an option to toggle automatic cvs add being applied to adding new files to a project.
Product: versioncontrol Reporter: waffletchnlgy <waffletchnlgy>
Component: CVSAssignee: issues@versioncontrol <issues>
Status: REOPENED ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 89591    

Description waffletchnlgy 2006-11-22 04:36:42 UTC
According to http://www.netbeans.org/kb/50/cvs-tutorial.html, "Note that with
NetBeans IDE 5.0, when you add or create a file in a repository, that file
automatically has a 'cvs add' applied. New files are however not actually added
to the repository until changes are committed."

This should be a configurable option: Automatically apply cvs add when you add
or create a file in a repository? Yes/No.
Comment 1 Maros Sandor 2006-12-18 13:47:46 UTC
Currently, you can turn off automatic adds with -J-Dcvs.excludeNewFiles=true
command line option. I think we can put it into the Options UI.
Comment 2 Maros Sandor 2007-01-18 14:53:38 UTC
I think the usecase is now covered by Issue #85315. You can now exclude whole
projets and folders from commit.

*** This issue has been marked as a duplicate of 85315 ***
Comment 3 waffletchnlgy 2007-01-18 17:52:08 UTC
Can this also be done on an individual file basis? The bug reporter of issue
85315 has all the log files in one folder. In our case, we have files
autogenerated by some tools. These files do not live in their own folder. 
Comment 4 Maros Sandor 2007-01-19 09:40:49 UTC
Ok, so what we will do is to pull the "-J-Dcvs.excludeNewFiles" parameter to GUI.
Comment 5 Maros Sandor 2007-02-27 10:45:34 UTC
Added a checkbox to the Option dialog to automatically Exclude New files from
Commit. Also, the "netbeans.javacvs.excludeNewFiles" is gone now.

/shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/actions/commit/CommitTableModel.java,v
 <--  CommitTableModel.java
new revision: 1.12; previous revision: 1.11
/shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/options/CvsOptionsPanel.form,v
 <--  CvsOptionsPanel.form
new revision: 1.2; previous revision: 1.1
/shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/options/CvsOptionsPanel.java,v
 <--  CvsOptionsPanel.java
new revision: 1.2; previous revision: 1.1
Comment 6 Maros Sandor 2007-12-10 10:54:01 UTC
*** Issue 122306 has been marked as a duplicate of this issue. ***
Comment 7 m_potociar 2007-12-10 16:11:38 UTC
*** Issue 122306 has been marked as a duplicate of this issue. ***
Comment 8 m_potociar 2007-12-10 16:12:33 UTC
For details on reopening the issue, see the issue #122306.
Comment 9 m_potociar 2007-12-10 16:15:08 UTC
Version and Target Milestone fields edited to reflect data from the duplicate issue #122306.