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 198686 - No source files shown in SVN'ed projects
Summary: No source files shown in SVN'ed projects
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: PC Windows 7 x64
: P1 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-17 20:32 UTC by PiTRiS87
Modified: 2011-08-01 09:52 UTC (History)
2 users (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 PiTRiS87 2011-05-17 20:32:33 UTC
When i try to add previously created project or new project with existing sources, which is located in folder which is part of SVN (I'm using Tortoise SVN x86, if that helps), then no files are shown in project browser...
This bug is new in netbeans 7, in 6.9.1 everything worked fine. Also buggy in latest dev snapshot to the date.
Adding project which is not part of svn is fine.
Comment 1 Petr Pisl 2011-05-18 12:27:04 UTC
Ondro, can be this connected with the SVN support? Have you heard about something similar?
Comment 2 Ondrej Vrabec 2011-05-18 12:42:41 UTC
I don't know how php works. The only thing i can think of is that the files are marked as 'not visible' by subversion visibility query.
to PiTRiS87: what is the *exact* path to the files?
to petr: is there any logging regarding visibility that can be enabled?
Comment 3 PiTRiS87 2011-05-18 12:46:58 UTC
path to files is "d:\Documents\Aira\_svn\diit" (SVN folder), which works fine in NB691, but not in 7.0... when i copied the files out of svn to "d:\Documents\Aira\diit", everything worked as expected.
Also when i create new file in project, it does create the file, opens it, but its not visible in NB. Source files folder cant be expanded as it seems like it does not contain a single file.

Also I'm not sure if this is related to PHP part of netbeans or to the netbeans in general as i use it for php only.
Comment 4 Ondrej Vrabec 2011-05-18 12:51:22 UTC
It must because of this folder in the path: \_svn
Could you paste here the value of Tools > Options > Misc > Files - Ignored Files Pattern?
Comment 5 PiTRiS87 2011-05-18 12:56:17 UTC
Ignored files: ^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!htaccess$).*$
It's same as in NB6. I see the _svn file/folder here, but shouldn't it be ignored inside the project files folder (which is right), not outside only?
Also, i've tried removing it from the pattern, reopening the project and the files are still invisible...
Comment 6 Ondrej Vrabec 2011-05-18 13:15:10 UTC
Hmm, it is indeed our responsibility.
Comment 7 Ondrej Vrabec 2011-05-18 13:43:13 UTC
fix: http://hg.netbeans.org/core-main/rev/767a94b0a3ab
Comment 8 Ondrej Vrabec 2011-05-18 13:46:02 UTC
7.0.1 fix: http://hg.netbeans.org/releases/rev/c28372d9899b
Comment 9 Quality Engineering 2011-05-19 08:41:12 UTC
Integrated into 'main-golden', will be available in build *201105190400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/767a94b0a3ab
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #198686 - No source files shown in SVN'ed projects
Comment 10 PiTRiS87 2011-05-19 19:28:39 UTC
working as it should now :) very quick fix, thx...
Comment 11 Stepan Zebra 2011-08-01 09:52:41 UTC
verified in release 701 build 201107282000