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 196511 - Cannot run hg.cmd or hg.bat mercurial clients
Summary: Cannot run hg.cmd or hg.bat mercurial clients
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.0
Hardware: All Windows XP
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-09 16:20 UTC by Ondrej Vrabec
Modified: 2011-03-10 13:28 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 Ondrej Vrabec 2011-03-09 16:20:01 UTC
Product Version = NetBeans IDE Dev (Build 110209-5ba4a9a94526)
Operating System = Linux version 2.6.34.7-0.7-desktop running on amd64
Java; VM; Vendor = 1.6.0_24
Runtime = Java HotSpot(TM) 64-Bit Server VM 19.1-b02

Even though bug #146089 claims to be fixed, it does not seem so. If you set up hg executable in Tools>Misc>... to a path to hg.cmd and the path contains a space (' '), every mercurial command fails. Moreover there is no notification, no message in the log, nothing a user would know how to fix it.
ondro, you should try to somehow bypass the limitation of "cmd.exe /C" running as an external process from java and fix this.
Comment 1 Ondrej Vrabec 2011-03-09 16:33:36 UTC
fix: http://hg.netbeans.org/core-main/rev/18a48464a329
Comment 2 Quality Engineering 2011-03-10 09:35:49 UTC
Integrated into 'main-golden', will be available in build *201103100400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/18a48464a329
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #196511 - Cannot run hg.cmd or hg.bat mercurial clients
Comment 3 Jiri Skrivanek 2011-03-10 13:28:25 UTC
Verified in build 201103100400.