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.
1) Initialize repository for a new project 2) Commit it 3) Invoke Mercurial | Clone - <project_name> 4) Uncheck "Set Cloned Project as Main" in upcoming dialog 5) Push Clone result: The cloned project is not opened and thus not visible in IDE, you have to open it manually. Mercurial 0.9.5 Product Version: NetBeans IDE 6.0 (Build 200711261600) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-b05 System: Windows Vista version 6.0 running on x86; Cp1252; en_GB (nb
Is this behavior not similar to Subversion | Checkout...?
Well it is not as in Subversion there is a different checkbox reading "Scan for Netbeans Projects after Checkout" which has a different meaning. I think that if you want to clone project, you want it opened even if you don't want it as main project.
Created attachment 54643 [details] proposed patch
The attached patch will always open the cloned project and will set it as main project only if the checkbox is enabled.
IDE:------------------------------------------------- IDE: [1/9/08 11:27 AM] Committing "Mercurial" started Checking in ui/clone/CloneAction.java; /shared/data/ccvs/repository/versioncontrol/mercurial/src/org/netbeans/modules/mercurial/ui/clone/CloneAction.java,v <-- CloneAction.java new revision: 1.16; previous revision: 1.15 done Checking in ui/clone/ClonePanel.form; /shared/data/ccvs/repository/versioncontrol/mercurial/src/org/netbeans/modules/mercurial/ui/clone/ClonePanel.form,v <-- ClonePanel.form new revision: 1.6; previous revision: 1.5 done Checking in ui/clone/ClonePanel.java; /shared/data/ccvs/repository/versioncontrol/mercurial/src/org/netbeans/modules/mercurial/ui/clone/ClonePanel.java,v <-- ClonePanel.java new revision: 1.8; previous revision: 1.7 done Checking in HgModuleConfig.java; /shared/data/ccvs/repository/versioncontrol/mercurial/src/org/netbeans/modules/mercurial/HgModuleConfig.java,v <-- HgModuleConfig.java new revision: 1.16; previous revision: 1.15 done Checking in util/HgProjectUtils.java; /shared/data/ccvs/repository/versioncontrol/mercurial/src/org/netbeans/modules/mercurial/util/HgProjectUtils.java,v <-- HgProjectUtils.java new revision: 1.9; previous revision: 1.8 done IDE: [1/9/08 11:27 AM] Committing "Mercurial" finished
Verified