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 8146 - RFE:CVS-Add Recursively ....(had problem with multiple selected dirs&files (they run parallery?)
Summary: RFE:CVS-Add Recursively ....(had problem with multiple selected dirs&files (t...
Status: REOPENED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscvs (show other bugs)
Version: 3.x
Hardware: PC All
: P4 enhancement (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-02 11:27 UTC by dmladek
Modified: 2006-12-04 22:07 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 dmladek 2000-11-02 11:27:41 UTC
[1135CE]
jdk1.3.0-fcs
=============

It isn't easy reproduce, but It leads to make user unsure.
Command Add failed when I had selected in right order files and dirs
in various structure level. It seems to me that adding files/dirs isn't
performed in selected order (logicaly the first selected dir has to be
highist, second dirs/files could be underneath it, etc.)


How to reproduce:
-----------------
create an extensive dir structure:
	rather 4 level deep
	in each level make a few files (2 could be enought)

select 3/4 of all structure (including files&dirs) in logical order:
highist goes first then goes files/dir underneath.

Performe CVS->Add on your selection.
Here your reproduction ends.
---------------------------------------------

If you receive any command failed, you've been able to reproduce it
and a mistake is somewhere in code.
Comment 1 Martin Entlicher 2001-01-25 19:41:59 UTC
This will change in build #112. The add is always performed in the right order
regardless on the selection order.
But: you have to run add either only on folders or only on files. This is
because these are different commands in fact, add on files asks for the
description, but add on folders does not.
So don't be surprised if you select dirs and files and you'll have no Add
command. You should just select dirs first, do the Add, then select files and do
the Add with a description.
Comment 2 dmladek 2001-02-03 22:14:59 UTC
Heya!!What is this fix for?
This is regresion in functionality!

Of'course it solve failing of commands. But in which strange way?
If you will fix bugs in such a way I could give you an advice:-)
"Extract this module from NB, and all bugs will be solved."

Sorry about this.

I'm going to:
 reopen bug
 lower Priority to P5
 lower Severity to Enhancment

Pls, don't restrict functionality and try to be as open as it is possible.
Users will it welcome.

in this state, it's "RFE" and I'd like to have posibility to ADD
all my structure in one "user's" task.
To ADD realy all structure...it could be solved by another command like
 "ADD ALL" without selection.
but Selection will be good enought too.

thanks for understanding
DM
Comment 3 dmladek 2001-02-03 22:19:59 UTC
and one more thing.
It isn't possible to add more dirs/packages at a time!
Even that they are at one level.
Why?
Comment 4 Martin Entlicher 2001-02-05 20:11:59 UTC
The reason for splitting add into two commands was, that when adding a folder
you can not write a description, but when adding a file, you can. Therefore CVS
filesystems treats it as two different commands.
I agree, that it is not a nice behavior for the user, who would like to add the
whole directory structure. But I thing, that for this purpose a special command
(i.e. Add recursively) should be made. The reason for it is, that it also looks
wery strange, that the users has to manually select all the files s/he wants to
add. What do you think ?
Comment 5 dmladek 2001-02-06 12:21:59 UTC
I agree. It'll be nice if you implement the CVS->ADD Recursively

FYI:
I've also correct the bug's summary to be more clear.
But I left the older part in it too. So I hope it's not confusing.
Edit it if you want.