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.
Product Version: NetBeans IDE Dev (Build 200909201401) Java: 1.5.0_20; Java HotSpot(TM) Client VM 1.5.0_20-141 System: Mac OS X version 10.5.8 running on i386; MacRoman; en_US (nb) -In web browser I have bookmarked project "www.netbeans.org IDE module" -log in to stg.network.org in IDE -expand the Sources node of "www.netbeans.org IDE module" -click on any '(get)' -->> The repository is recognized as Subversion reporsitory (which is wrong because we have sources in HG). When I try to push Next in the Checkout dialog it shows error - see attached screenshot...
Created attachment 88031 [details] Screenshot attached...
Yes, the external hg repositories are incorrectly recognized as svn. To reproduce, * run IDE with -J-Dkenai.com.url=https://stg.network.org switch, * then go to Team | Kenai | Open Kenai project, * switch to Recent tab, * select and open www.netbeans.org IDE module (IDE), * go to Sources node
partial fix in subversion: cdev #9a12dbf47a4c subversion module now returns false in isRepository when authentication error occurs - but it also means password-protected subversion repositories will never be recognized. Now ownership checking is passed to mercurial
But we have another problem: www.netbeans.org IDE module contains 82 mercurial repositories ownership is checked for each repository in a loop every test in mercurial takes about 4-5 seconds (we are forced to start and interrupt the clone command), so opening sources node takes about 400 seconds to finish - but it never does because of a limited timeout - and as a result 'Not responding' node is painted
Integrated into 'main-golden', will be available in build *200909241442* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9a12dbf47a4c User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #172697 - [STG] cannot get sources for "www.netbeans.org IDE module" Subversion.isRepository returns false if authentication error occurs
honza, is it possible to consider all repositories at hg.netbeans.org/* as mercurial repositories by default? Otherwise the logic for external repositories tries to identify the owner (mercurial or subversion) for all 82 repos in a row and eventually 'Not responding' is displayed in the kenai dashboard.
I really like to fix this issue, but I'm not able to open ide project due to server errors.
*** Bug 176174 has been marked as a duplicate of this bug. ***
Changeset: 2087ddfe1437 Author: Jan Becicka <jbecicka@netbeans.org> Date: 2009-11-09 11:37 Message: #172697: Problems with kenai dashboard after its closing and reopening
oops wrong message in commit. Anyway fixed.
Verified in the following build from CDEV repository: Product Version: NetBeans IDE Dev (Build cdev-1664-on-091111) Java: 1.6.0_15; Java HotSpot(TM) 64-Bit Server VM 14.1-b02-92 System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)