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 177281 - Share on Kenai does not commit into Hg repository
Summary: Share on Kenai does not commit into Hg repository
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Team Framework (show other bugs)
Version: 6.x
Hardware: PC All
: P2 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-20 04:31 UTC by Petr Dvorak
Modified: 2009-11-26 19:34 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Quick patch - hide the checkbox for Hg repos... (980 bytes, application/octet-stream)
2009-11-20 04:58 UTC, Petr Dvorak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Dvorak 2009-11-20 04:31:22 UTC
Product Version: NetBeans IDE Dev (Build 200911200201)
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)

1. Create a Java Application
2. Invoke Share on Kenai, go through the wizard...
3. Fill in some project details
4. Make sure Mercurial is selected as VCS and that "Commit into repository" checkbox is checked
5. Click Finish
-> Project is created but sources are not comitted/pushed in the repository
-> Maybe the problem is just that the checkbox should be disabled/unchecked for Hg? anyway - should be fixed for 6.8, I guess...
Comment 1 Petr Dvorak 2009-11-20 04:32:43 UTC
Well, if commit/push should not work and the problem is just in the checkbox state/visibility, this is not a P1, of course...
Comment 2 Jan Becicka 2009-11-20 04:45:41 UTC
Is it recent regression or it never worked?
Comment 3 Petr Dvorak 2009-11-20 04:49:28 UTC
OK, probably not P1, sorry for the panic - it is just very stupid bug we should have seen before...
Comment 4 Petr Dvorak 2009-11-20 04:51:58 UTC
Well, honestly I cannot tell now:( - I have the feeling that it worked because I use HG for my projects all the time so I prefer testing with Hg and yesterday, it was the first time I noticed my sources were not commited. But maybe this has never worked and nobody noticed...

Jara, you have better memory...
Comment 5 Petr Dvorak 2009-11-20 04:58:59 UTC
Created attachment 91415 [details]
Quick patch - hide the checkbox for Hg repos...
Comment 6 Petr Dvorak 2009-11-20 05:01:12 UTC
See http://hg.netbeans.org/cdev/rev/c3ad16c9792a (NewKenaiProjectWizardIterator.java) - there is commented-out line with Hg.commit... So probably, the commit/push currently shouldn't work for Hg and it didn't work since some 2 months ago...
Comment 8 Jan Becicka 2009-11-23 03:02:00 UTC
please implement Mercurial.commit (see commented out method for singnature). and Mercurial.push(), Thanks
Comment 9 Ondrej Vrabec 2009-11-25 05:53:34 UTC
fixed: http://hg.netbeans.org/cdev/rev/0ca310a2cf3b
Comment 11 Jan Becicka 2009-11-26 02:01:22 UTC
Changeset: 65613c4c4590
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2009-11-26 10:00
Message:   Issue #177281 - Share on Kenai does not commit into Hg repository
Comment 12 Quality Engineering 2009-11-26 19:34:39 UTC
Integrated into 'main-golden', will be available in build *200911261400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/00a4ff249597
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #177281 - Share on Kenai does not commit into Hg repository
implementing commit and push