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 239476 - [Performance] Subversion scans closed projects
Summary: [Performance] Subversion scans closed projects
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-13 15:00 UTC by arittner
Modified: 2013-12-13 15:26 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 arittner 2013-12-13 15:00:05 UTC
IMHO it's a possible spot for performance problems.

I've found in my message.log many svn errors for old repository types. Log lines like this:

INFO [org.netbeans.modules.subversion]: Subversion.cleanupTask: Scanning in progress

and then: 

INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: E155036: The working copy at 'C:\Entw\Work\svn\S3\src\AdmSoftware\App\machine'"
INFO [org.netbeans.modules.subversion]: cli: ERROR "is too old (format 10) to work with client version '1.8.0-SlikSvn-1.8.0-X64 (SlikSvn/1.8.0) X64' (expects format 31). You need to upgrade the working copy first."
INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: E155036: Please see the 'svn upgrade' command"
INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: E155036: The working copy at 'C:\Entw\Work\svn\sXcore\src\de\sepix\sys\jms\admin'"
INFO [org.netbeans.modules.subversion]: cli: ERROR "is too old (format 10) to work with client version '1.8.0-SlikSvn-1.8.0-X64 (SlikSvn/1.8.0) X64' (expects format 31). You need to upgrade the working copy first."
INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: E155036: Please see the 'svn upgrade' command"
INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: E155036: The working copy at 'C:\Entw\Work\svn\S3\src\AdmSoftware\App'"
INFO [org.netbeans.modules.subversion]: cli: ERROR "is too old (format 10) to work with client version '1.8.0-SlikSvn-1.8.0-X64 (SlikSvn/1.8.0) X64' (expects format 31). You need to upgrade the working copy first."
INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: E155036: Please see the 'svn upgrade' command"
INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: E155036: The working copy at 'C:\Entw\Work\svn\sXcore\src\sys'"
INFO [org.netbeans.modules.subversion]: cli: ERROR "is too old (format 10) to work with client version '1.8.0-SlikSvn-1.8.0-X64 (SlikSvn/1.8.0) X64' (expects format 31). You need to upgrade the working copy first."


thousands more...

But the corresponding projects are closed (only opened a few time ago in older sessions). I understand the svn message (and i've fixed it). But it's interesting to see the scan in closed projects (closed weeks ago).

IMHO this should be avoided. 

br, josh.
Comment 1 Ondrej Vrabec 2013-12-13 15:08:55 UTC
Subversion is not limited just to open projects because it should work even without a project (e.g. from the Favorites view). It merely refreshes its persistent cache in NB_CACHE_FOLDER\svncache. If you are irritated that it accesses even long closed projects, delete the cache folder.
Comment 2 Ondrej Vrabec 2013-12-13 15:11:43 UTC
btw it refreshes only modified files it had in the cache and because your working copy was old, it considered all files from your closed working copy modified. If you make everything uptodate Subversion will scan much less files.
Comment 3 arittner 2013-12-13 15:26:27 UTC
I have suggested that there is a cache problem. And my favorite window has no links to any project. 

It's only a hint for a performance issue. A user can't see this problem: Closed projects, no information in the status bar or error messages - only in the log file.

IMHO the IDE should clean up old (not used) cache entries.