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 83050 - Cannot add subprojects to existing project
Summary: Cannot add subprojects to existing project
Status: RESOLVED DUPLICATE of bug 81813
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-19 20:42 UTC by _ tboudreau
Modified: 2007-01-04 17:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2006-08-19 20:42:39 UTC
I've run into this repeatedly, and it's rather annoying:

Have some project under CVS control - for example foo/.
Create a new project, foo/bar
It shows up with a little blue cylinder annotation that it needs to be committed
Right click it and choose CVS/Commit

You get:
cvs [add aborted]: there is no version here; do 'cvs checkout' first

In fact the only way I have found to add the project to CVS at all is to open a
shell, go to foo/ and run "cvs add bar" - then it works correctly.
Comment 1 Peter Pis 2006-08-20 15:38:11 UTC
Issue #81813 has been reported 2 weeks ago but it's been already fixed. What
build of NB do you use? Conmit didn't work it was invoked on non-versioned context. 
Comment 2 _ tboudreau 2006-08-21 22:03:08 UTC
Looks similar to issue 81813.

I'm using build 060803 - it looks like issue 81813 this was fixed the next day.
 I'll update and see if it's the same problem.

Generally, IMO, if a file or directory has a parent which is under CVS control,
and a CVS menu appears on its popup menu, then those actions should do the Right
Thing (recursively adding parents if necessary) even if there was no version in
the directory - if we're not going to expose CVS Add, then Commit needs to work
on non-added things.

If that is what was fixed, then this issue can be closed.
Comment 3 Maros Sandor 2006-10-18 13:17:42 UTC
Works for me, seems to be fixed.

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