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.
Description: Mercurial "forgets" about default-pull adn default-push properties, and then doesn't allow to modify them, making mercurial support unusable to push/pull. Steps to reproduce (I think): 1.- Create a mercurial repository on a directory on disk, with a NB Project within. 2.- Clone that repository (using NetBeans) onto another directory. During the wizard the default-pull adn default-push are informed, clone ends normally. 3.- The NB Project is detected in the clone. Select to open it within the IDE. 4.- The default-push and default-pull are forgotten. If you try to pull/push from default a popup window appears saying: "No default Push path set for this project. Please set a default Push path using Mercurial > Properties" and "OK". 5.- Press OK on the popup. Select "Mercurial > Properties". The "Hg Properties Editor" appears in a new window, there's a table there. The default-pull and default-push values in the table are blank. You cannot edit them by double-clicking on the table. Version info: Product Version: NetBeans IDE 7.0 RC2 (Build 201104070802) Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02 System: Windows XP version 5.1 running on x86; Cp1252; es_ES (nb) Userdir: C:\Documents and Settings\A148999\.netbeans\7.0rc2
Hmm, i'll take a look. Some corrections to the scenario: 1) Mercurial -> Clone Other.. must be invoked 2) Paths are not "forgotten", they are just saved in a form that causes the IDE's parser some problems. I don't know why but it seems a closing backslash seems to cause such a problem. 3) add 5) you don't dbl-click on the property, you click on the property and then fill the URL in the textarea underneath the table As a workaround: 1) Either clone the project using faster Mercurial -> Clone instead of 'Clone other' 2) Edit the props and remove the closing backslash
Ah! I know what happens! The clone is on an USB disk that I mount from Windows and Mac OS/X. NetBeans behaviour is correct: "F:/myrepo" is not the same as "/Volumes/myrepo" I assume ;-) I'm closing this as a consequence.
fix: http://hg.netbeans.org/core-main/rev/ff58fcfc7dd4
Integrated into 'main-golden', will be available in build *201104130401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ff58fcfc7dd4 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: Issue #197621 - Mercurial forgets default-pull and default-push properties