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 105223 - Bogus directories being added on commit
Summary: Bogus directories being added on commit
Status: RESOLVED DUPLICATE of bug 105884
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-31 09:09 UTC by Erno Mononen
Modified: 2007-06-14 13:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
module (28.68 KB, application/octet-stream)
2007-05-31 09:12 UTC, Erno Mononen
Details
commit log 1 (1.00 KB, text/plain)
2007-05-31 09:13 UTC, Erno Mononen
Details
commit log 2 (745 bytes, text/plain)
2007-05-31 09:13 UTC, Erno Mononen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2007-05-31 09:09:35 UTC
build 070521

I ran into rather strange behaviour of the CVS support. Not sure whether the 
following is reproducible as I don't want to further mess up the repository.

I had checked out the standard NB source tree, some modules switched to the 
merged_model_j2ee branch. I created a new module, web/refactoring, and wanted 
to commit it to trunk. So I checked the changes on the module and select all 
files except for one (note that all files were under web/refactoring) and 
committed them. What happened was that it added the following dirs:
Added:
   j2ee/persistence/work/
   j2ee/persistence/work/dev/
   j2ee/persistence/work/dev/web/
   web/refactoring/src/org/netbeans/modules/web/refactoring/rename/

I cancelled the process the moment I noticed that some strange j2ee/persistence/
work directories are being added. I don't have such directories on my hard 
drive, nor did I commit any files from directories other than web/refactoring. 
Note that I have trunk checked out in work/dev under my home directory. Some 
time later while investing the issue, I had trunk checked out to work/
webrefactoring I opened the new web/refactoring module that I had copied there 
under that source tree, i.e. from work/webrafctoring/web/refactoring, and 
opened some files in the commit dialog (in the dialog that lets you write a 
commit msg and do the actual commit), but did not commit anything. Still, 
according to commit logs the following bogus directories were added:
Added:
   j2ee/persistence/work/webrefactoring/
   j2ee/persistence/work/webrefactoring/web/

Note that the directories somehow reflect the location where I have the source 
code root checked out (work/webrefactoring in this case). 

Finally, I used the command-line cvs client to commit the module without 
problems. I'm attaching the project and the commit logs in case they could help 
in resolving this. I can't really think of what could have caused this, I had 
copied one file from j2ee/persistence/refactoring to the new module (using the 
IDE for copying), but that's about it. I could not find any references 
whatsoever to j2ee/persistence, under which the bogus directories were added.
Comment 1 Erno Mononen 2007-05-31 09:12:57 UTC
Created attachment 43008 [details]
module
Comment 2 Erno Mononen 2007-05-31 09:13:35 UTC
Created attachment 43009 [details]
commit log 1
Comment 3 Erno Mononen 2007-05-31 09:13:59 UTC
Created attachment 43010 [details]
commit log 2
Comment 4 Peter Pis 2007-05-31 15:53:18 UTC
I couldn't manage to reproduce this problem. Could you please provide more
details? Thanks.
Comment 5 Erno Mononen 2007-06-01 16:46:47 UTC
Not sure what could I add, would you have any tips on what kind information 
would be useful to you?
Comment 6 Maros Sandor 2007-06-14 13:58:42 UTC
There is a similar issue reported with reproducible steps.

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