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 68320 - Cannot use Favorites tab to cut folders
Summary: Cannot use Favorites tab to cut folders
Status: RESOLVED WORKSFORME
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks: 109277
  Show dependency tree
 
Reported: 2005-11-08 23:07 UTC by Jesse Glick
Modified: 2007-07-10 19:05 UTC (History)
1 user (show)

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 Jesse Glick 2005-11-08 23:07:59 UTC
See issue #62863. If you *cut* a CVS-controlled folder and paste it somewhere,
currently the actual folder is deleted. This is wrong (from the perspective of
CVS operations); you want it to cvs rm -f every file in the folder and its
subfolders, but leave the folders themselves intact so that **/CVS/Entries will
record the deletions.
Comment 1 Jesse Glick 2005-11-08 23:09:38 UTC
Probably waivable but should at least be in release notes IMHO.
Comment 2 Maros Sandor 2005-11-09 13:57:43 UTC
It works for me. Maybe the confusion comes from the fact that these files and
folders actually dissappear. We agreed in early stages of development that files
should be deleted on Delete and Cut operations. So now everything is deleted and
CVS module interally remembers Entries for deleted files. Try opening a
Versioning view or invoke Commit and see that deleted files will be actually
removed from CVS.
Comment 3 Jesse Glick 2005-11-10 01:01:55 UTC
OK, I don't have time to set up a testing repo so I will trust you that it
works... It won't help someone who expects to commit from another tool, though.
Neither does adding a file/dir, but at least in that case it is clear from the
'?' warnings during update that you need to "cvs add" the new file/dir. If you
did a cut&paste of a folder (not file) in the IDE and then did a "cvs update"
from the command line, CVS would just quietly restore the deleted dir,
effectively reverting half your change before you could commit it. I guess
that's the tradeoff you make - interoperability with other CVS tools will not be
great.