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.
There are some situations that should affect the fetch list but do not: 1. Create a local branch and push it. It should be added to the fetch list, otherwise Pull from upstream will fail; 2. Deleted a local branch connected to an origin. It should be removed from the fetch list, otherwise Pull from upstream will fail; 3. Pull... and Fetch... should have a checkbox to modify git/config so only the selected branches are now fetched; Product Version = NetBeans IDE Dev (Build 20130628-216d1bc31969) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_07 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.3-b01
> 1. Create a local branch and push it. It should be added to the fetch list, > otherwise Pull from upstream will fail; i agree > 2. Deleted a local branch connected to an origin. It should be removed from > the fetch list, otherwise Pull from upstream will fail; i don't get it. If the branch is deleted locally that how can it fail? Pull from Upstream fetches the relevant branch to currently checked out local branch, which *cannot* be the deleted one (because it does not exist). Make a screenshot of the error and attach a messages.log whit the error logged. > 3. Pull... and Fetch... should have a checkbox to modify git/config so only the > selected branches are now fetched; I don't get this either. Pull.. and Fetch... allow you to select explicitly what branches to fetch, so what's the point in having another checkbox? Please explain.
(In reply to comment #1) > > 2. Deleted a local branch connected to an origin. It should be removed from > > the fetch list, otherwise Pull from upstream will fail; > i don't get it. If the branch is deleted locally that how can it fail? Pull > from Upstream fetches the relevant branch to currently checked out local > branch, which *cannot* be the deleted one (because it does not exist). Make a > screenshot of the error and attach a messages.log whit the error logged. I will. > > 3. Pull... and Fetch... should have a checkbox to modify git/config so only > > the selected branches are now fetched; > I don't get this either. Pull.. and Fetch... allow you to select explicitly > what branches to fetch, so what's the point in having another checkbox? Please > explain. So that it overrides the configured fetch options and totally replace them by those selected from now, with no need to edit the config file manually.
> So that it overrides the configured fetch options and totally replace them by > those selected from now, with no need to edit the config file manually. I think much more intuitive and transparent is to implement remote init: https://netbeans.org/bugzilla/show_bug.cgi?id=191540 and not add a hundredth checkbox to the fetch/pull panel.
(In reply to comment #3) > > So that it overrides the configured fetch options and totally replace them by > > those selected from now, with no need to edit the config file manually. > I think much more intuitive and transparent is to implement remote init: > https://netbeans.org/bugzilla/show_bug.cgi?id=191540 and not add a hundredth > checkbox to the fetch/pull panel. Will this allow me to remove the current fetch config and not only add a new one?
Integrated into 'main-silver', will be available in build *201307312300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/95701c78986f User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #232221 - [73cat] Fetch list is not updated correctly partial fix: clone action should probably set fetch refspecs in the global form: refs/heads/*:refs/remotes/origin/* to avoid inconsistencies later
partially fixed in core-main #943e77b28733 - fetch ref specs are automatically updated when doing Fetch/Pull and with the following fix: autoupdate when pushing fix: http://hg.netbeans.org/core-main/rev/580e222b9fb6
Integrated into 'main-silver', will be available in build *201308152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/580e222b9fb6 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #232221 - [73cat] Fetch list is not updated correctly update fetch list also when pushing