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.
NetBeans is ignoring the mercurial default pull and default push properties. Steps to reproduce: 1) Activate versioning labels for more easily identify cloned projects: View -> Show Versioning Labels. 2) Create a new project and init a hg repo for it: - File -> New Project -> Java Application; name it p1 - Project p1 -> Versioning -> Initialize mercurial.. - Project p1 -> Mercurial -> Commit 3) Clone project p1: - Project p1 -> Mercurial -> Remote -> Clone (suggested p1_clone0 is ok) 4) Create an other project and init a hg repo for it: - File -> New Project -> Java Application; name it p2 - Project p2 -> Versioning -> Initialize mercurial.. - Project p2 -> Mercurial -> Commit 5) Clone project p2: - Project p2 -> Mercurial -> Remote -> Clone (suggested p2_clone0 is ok) 6) Try to pull from p1_clone0: - Expected: path to p1 project should be used, but we need to select it from the combo. 7) Try to pull from p2_clone0: - Expected: path to p2 project should be used, but instead of it we get the last used for p1 project. 8) Try to pull from p1_clone0: - Expected: path to p1 project should be used, but now it has retained the last used: p2... If we inspect Mercurial -> Properties on any of the cloned projects, we see the default pull and push paths to pristines ok, but the are ignored.
push/pull wizard just remembers the last used URL, it merely does not preselect the default URL. Why do you even use this action? You should stick to Pull/Push from/to default.
I can't find "pull from default".. I right-click the project and select Mercurial -> Remote -> Pull... The only options I see to pull are "Pull current branch", "Pull all branches" and "Pull..." from this popup menu.
Sorry, my fault, it used to be Pull from default, now it is: Pull current branch - hg pull -b CURRENT_BRANCH Pull all branches - hg pull Both working with the default path. So you probably want to try these.
You are right. These commands works as expected with default repos defined in hg properties for the project. I close the issue. Anyway, an enhancement would be to make the last url project-dependent. It has no much sense to propose a url of other project... Thank you a lot.