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.
Summary: | Cloned project not opened | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | novakm <novakm> |
Component: | Mercurial | Assignee: | issues@versioncontrol <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | proposed patch |
Description
novakm
2007-12-13 09:45:41 UTC
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 |