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 25491 - [VCSCACHE]: Another problem ....when moving dir structure
Summary: [VCSCACHE]: Another problem ....when moving dir structure
Status: CLOSED WORKSFORME
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-10 12:55 UTC by dmladek
Modified: 2002-11-15 14:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
part of Exception stacktraces when moving files.... (5.32 KB, text/plain)
2002-07-10 12:57 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2002-07-10 12:55:48 UTC
Product Version       = NetBeans IDE 3.4 Beta 3
(Build 200207100100)
  IDE Versioning        = IDE/1 spec=2.23
impl=200207100100
  Operating System      = Linux version 2.4.18
running on i386
  Java; VM; Vendor      = 1.4.0; Java HotSpot(TM)
Client VM 1.4.0-b92; Sun Microsystems Inc.
  Java Home             =
/usr/java/j2sdk1.4/sun/jdk1.4/jre
  System Locale; Encod. = cs_CZ; ISO-8859-2
======================================================================

Maybe the Summary should be:
"Losting CVS/'files' when moving dir structure"

I consider this issue as serious 'cause later it
blocks me to commit
files. But OTOH, I also made some bad steps as a
cvs's user and tried to solve it within ide and
our modules (G-CVS) which leads to this trouble.

What I did?:
============
on module "javacvs" under www dir I started to
wrote some html documents.
*I created this dir structure under www:

qa
`-- testspecs
    |-- nb34
    |   |--
JavaCVSTestSpecification-summary.html[Added]
    |   |-- JavaCVSTestSpecification.html[Added]
    |   |-- dwnlds
    |   |   |-- cvsRepo.zip[Added]
    |   |   |-- cvsWrkdirEmpty.zip[Local]
    |   |   |-- cvsWrkdir.zip[Added]
    |   |-- xml[local]
    |   |   |-- somefilesinit[local]
    |   |   |-- 
    |   |-- html[local]
    |   |   |-- somefilesinit[local]
    |   |   |-- 
    |   |-- pic
    |   `-- res[local]
    |   |   |-- somefilesinit[local]
    |   |   `-- 
    |-- nb34gen(->) ....link pointing to
vcsgeneric module www/qa
    `-- netbeans.css[Added]


*But they weren't ready to publish them, so I
decide to create my private branch on 'qa' dir and
wanted to commit to branch.
*But crating branch tag failed because in my
dirstructure were [local] files/dirs.
*So decided to move(temporary) my whole
directorystucture somewhere 
above 'qa'dir.
*During move I've got a few Exception dialogs
noticed me that it imposible move (or delete)
files in the source....

*Now, in my ide Explorer I could see almost 2
identical contents
of 'qa' folder in original place and in a
temporary one.
*On the disk, original 'qa' was almost emty except
one or 2 CVS/netbeans.cmd.cache files somewhere.

*in ide I wasn't able to get of rid original 'qa'
ghost so I closed the ide and deleted the rest of
'qa' original dir content by hand.
*start the ide, but I again could see the ghost
structure on original place.
*Well,some kind of cvs cache problems I thought.....
And performed cvs->tag -b DanPrivateBr on 'qa'
dir....it succeded!
*I exited ide and move back the content of
temporary 'qa' to original 'qa dir by hand...
I noticed that there wasn't everywhere CVS subdir
on the place where it is usualy created when files
are at least added to repository.
Also I deleted all [local] and links files/dirs
from 'qa' structure.
*Then I started ide again, wanted to perform in
'qa' commit to branch. All subdirs and files of
'qa' dir now had [local] status.

*and from now it's impossible to add or commit any
of that files into the repository....'cause 
Add command complains about "there is a version in
testspec already"
Commit command complains about: ignoring
javacvs/www/qa/testspecs (CVS/Repository missing)"
Comment 1 dmladek 2002-07-10 12:57:17 UTC
Created attachment 6604 [details]
part of Exception stacktraces when moving files....
Comment 2 Martin Entlicher 2002-07-19 14:08:30 UTC
Starting to work on it...
Comment 3 Martin Entlicher 2002-07-20 16:13:29 UTC
I've tested several moves of directories and all were successfull.
I've never encountered the attached exception "Could not remove source
folder while moving." Did the javacvs/www/qa/testspecs/nb34/dwnlds
file really exist on disk?

After issue #25362 is fixed, there should be no problems with "ghost"
folders, which is the main problem here.

Closing as "worksforme".
Comment 4 dmladek 2002-11-15 14:29:56 UTC
You're right in current build it WRKSFORME to;-)