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 231535 - Mercurial Merge Failed after prompted by IDE
Summary: Mercurial Merge Failed after prompted by IDE
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-19 15:29 UTC by javydreamercsw
Modified: 2013-06-22 02:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (90.22 KB, text/plain)
2013-06-19 15:29 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2013-06-19 15:29:30 UTC
Product Version = NetBeans IDE Dev (Build 201306162301)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_15
Runtime = Java HotSpot(TM) Client VM 23.7-b01

I was Pulling changes from a Mercurial repository. When done, IDE prompted about merging heads created by the pull. I agreed then the IDE prompted me with the Merge message. I provided it and committed. It showed an error afterwards.

Looks to be related to the length of the command attempted.

From the logs (attached):
Mercurial command "hg commit" could not be executed as too many arguments (502) where passed
Please perform this operation from the command line.
Comment 1 javydreamercsw 2013-06-19 15:29:32 UTC
Created attachment 136038 [details]
IDE log
Comment 2 javydreamercsw 2013-06-19 15:31:45 UTC
had to do it from TortoiseHg.
Comment 3 Ondrej Vrabec 2013-06-19 15:32:38 UTC
Can you paste the content of the mercurial Output window? (Window -> Output and find the repository's tab)
Comment 4 Ondrej Vrabec 2013-06-19 15:39:24 UTC
Did you commit the merge normally with the Commit dialog? It is strange because the IDE should recognize this and should not attempt to commit with any file parameters after a merge because it is not allowed by mercurial after a merge.
Comment 5 Ondrej Vrabec 2013-06-20 09:39:06 UTC
fix: http://hg.netbeans.org/core-main/rev/85e28f7b6574
Comment 6 Quality Engineering 2013-06-22 02:06:26 UTC
Integrated into 'main-golden', will be available in build *201306212301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/85e28f7b6574
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #231535 - Mercurial Merge Failed after prompted by IDE
the after-merge commit failure should be handled even after committing a reduced file list