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 170546 - Subversion plug-in leaves out files and directories
Summary: Subversion plug-in leaves out files and directories
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-18 13:36 UTC by puce
Modified: 2009-09-24 12:36 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 puce 2009-08-18 13:36:24 UTC
After copying an existing project to a directory, which is version controlled by subversion, and opening it with the
NetBeans IDE, the IDE does not mark all files and directories for adding. Only after opening each subdirectory manually,
all files and directories are marked for adding. This is very dangerous! -> P2
Comment 1 Ondrej Vrabec 2009-08-18 13:53:20 UTC
You copied the project outside of IDE? When you perform any filesystem operation outside of netbeans, always use
Subversion > Show changes. This will refresh the cache and files will be recognized as New. So you don't have to open
every folder, just run Show changes on the project root.
If you are uncomfortable with using Show changes, run IDE with "-J-Dnetbeans.subversion.commit.deepStatusRefresh=true",
which will force subversion to refresh the cache before a commit.
Comment 2 puce 2009-08-18 14:10:06 UTC
Yes, I copied them outside NetBeans (IDE closed) for initial import.
I'll try your work-arounds next time, but I think the IDE should do this deep status refresh itself when it recognizes
that it is inside a version controlled directory, but the project itself is not under version control yet.
Comment 3 Ondrej Vrabec 2009-08-19 14:06:42 UTC
cdev #b14edbe2c565
that should help, but if performance problems occur, it will be disabled again. And you will have to use Show changes first.
Comment 4 Quality Engineering 2009-08-21 06:09:32 UTC
Integrated into 'main-golden', will be available in build *200908210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b14edbe2c565
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #170546 - Subversion plug-in leaves out files and directories
enabling recursive scan for unexplored folders
Comment 5 Quality Engineering 2009-09-24 12:36:08 UTC
Integrated into 'main-golden', will be available in build *200909230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/34d8b88a9e94
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #170546 - Subversion plug-in leaves out files and directories
recursive scan implemented in a faster and simpler way