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 166090 - No feedback if Hg is not installed
Summary: No feedback if Hg is not installed
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-27 11:24 UTC by Petr Dvorak
Modified: 2009-06-10 11:36 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 Petr Dvorak 2009-05-27 11:25:06 UTC
Product Version: NetBeans IDE 6.7 RC1 (Build 200905270001)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb)

Assume that you are working on a PC without the "mercurial" installed (quite frequent setup, IMO, that's why P2). Open a
Kenai dashboard and click "get" by some project that is versioned with Hg. The dialog with the list of repositories
shows up but if you click the "Get From Kenai" button, nothing happens and no dialog explaining what is wrong shows up
either.

There should be the same dialog as if you invoked "team>mercurial>clone other". Currently, it just looks it is broken to
someone who is not familiar with the existence of Hg...
Comment 1 Petr Dvorak 2009-05-28 13:00:31 UTC
IMO, definitely a stopper for FCS but I believe RC1 can go with this one.
Comment 2 Milan Kubec 2009-05-28 13:25:45 UTC
Tomasi, please evaluate. Thanks.
Comment 3 Jan Becicka 2009-05-28 13:31:49 UTC
Subversion API has isClientAvailable method. Maybe we should create the same method for Mercurial...
Comment 4 Tomas Stupka 2009-05-28 13:34:02 UTC
yes we should have done the same for hg
Comment 5 Marian Mirilovic 2009-06-01 11:53:40 UTC
Tomas, 
are you able to fix this issue this week ? We are preparing RC2 and all NB 6.7 stoppers should be fixed by this
Wednesday(Friday in RC2 build).
Comment 6 Tomas Stupka 2009-06-01 18:39:28 UTC
fixed

changeset   : 133880:fb6394cc6e82
author      : Tomas Stupka <tstupka@netbeans.org>
date        : Mon Jun 01 19:38:29 CEST 2009
Comment 7 Marian Mirilovic 2009-06-02 08:20:39 UTC
joshis, 
could you please verify this fix in trunk ? Thanks in advance.

Stay opened until fixed in NB 6.7 
Comment 8 Quality Engineering 2009-06-02 08:44:36 UTC
Integrated into 'main-golden', will be available in build *200906020201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fb6394cc6e82
User: Tomas Stupka <tstupka@netbeans.org>
Log: #166090 - No feedback if Hg is not installed
Comment 9 Petr Dvorak 2009-06-03 06:36:44 UTC
Fix verified in:

Product Version: NetBeans IDE Dev (Build 200906020201)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02
System: Linux version 2.6.28-12-generic running on amd64; UTF-8; en_US (nb)

Please integrate the fix in 6.7 branch.
Comment 10 Marian Mirilovic 2009-06-03 09:18:29 UTC
ondrej, 
could you please transplate the bugfix into release67 today ? Thanks in advance.
Comment 11 Ondrej Vrabec 2009-06-03 12:34:58 UTC
Transplanted into 6.7 as: release67 #ec0e5a9777ac.
Comment 12 Petr Dvorak 2009-06-10 11:36:04 UTC
Product Version: NetBeans IDE 6.7 RC3 (Build 200906100001)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb)

Verified - the message is displayed in above mentioned build.