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 108369 - Problem with excluded package
Summary: Problem with excluded package
Status: RESOLVED DUPLICATE of bug 165750
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-28 10:05 UTC by novakm
Modified: 2009-09-22 13:44 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 novakm 2007-06-28 10:05:14 UTC
1) Add a new package to a versioned project
2) Add a new file to that package
3) Exclude the package from commit (in the subversion tab)
4) Try to commit it - a message reading for example
'D:\install\M10_200706270000\projects\excludeTest\src\newpackage2' is not under version control and is not part of the
commit, yet its child 'D:\install\M10_200706270000\projects\excludeTest\src\newpackage2\NewClass.java' is part of the commit
will appear
5) Include the package in commit again
Result: The new file in the new package cannot be ignored anymore

Weird thing is, that when I tried to reproduce, I had some difficulties. Several times it happened to me, that even if
the new package was excluded from commit, the commit DID proceed and both the new file and the package were committed...

-----
Product Version: NetBeans IDE Dev (Build 200706270000) 
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 
System: Windows Vista version 6.0 running on x86
Comment 1 Tomas Stupka 2007-08-03 16:26:15 UTC
sorry, but tried several times and could not reproduce
Comment 2 novakm 2007-08-06 08:21:19 UTC
Reopening - I've just reproduced in latest build (200708060000). Feel free to stop by and I will show you the whole
scenario.
Comment 3 Peter Pis 2008-09-03 14:54:20 UTC
Reproduced. Both file and package are committed.
Comment 4 Ondrej Vrabec 2009-02-20 13:07:56 UTC
partial fix - ignore of svn added files is enabled

changeset:   117579:ef97514c65a2
user:        Ondrej Vrabec <ovrabec@netbeans.org>
date:        Wed Feb 18 10:01:14 2009 +0100
summary:     #108369 - Problem with excluded package
Comment 5 Quality Engineering 2009-02-22 07:54:52 UTC
Integrated into 'main-golden', will be available in build *200902220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ef97514c65a2
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #108369 - Problem with excluded package
ignoring svn added files enabled
Comment 6 Ondrej Vrabec 2009-09-22 13:44:27 UTC
The second part - adding/committing parent when needed - will be fixed as part of 165750

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