Description of problem: There is *a lot of* output rhkpg switch-branch in my kernel repo related to branch changes. Version-Release number of selected component (if applicable): 1.18-2.fc20 How reproducible: every time in my kernel repository. I don't see this issue with other package's repositories. Steps to Reproduce: 1. rhpkg switch-branch rhel-6.5 Actual results: <snip> private-mleitner-sf00639891 -> origin/private-mleitner-sf00639891', ' = [up to date] private-mleitner-sf00640186 -> origin/private-mleitner-sf00640186', ' = [up to date] private-mleitner-sf00641626_el5 -> origin/private-mleitner-sf00641626_el5', ' = [up to date] private-mleitner-sf00664851-tst1 -> origin/private-mleitner-sf00664851-tst1', ' = [up to date] private-mleitner-sf00672997 -> origin/private-mleitner-sf00672997', ' = [up to date] private-mleitner-sf00682825 -> origin/private-mleitner-sf00682825', ' = [up to date] private-mleitner-sf00692671 -> origin/private-mleitner-sf00692671', ' = [up to date] private-mleitner-sf00698457 -> origin/private-mleitner-sf00698457', '1', 'l', '8_9_1_1', 'd', 'f-sched_debug_off']) <snip> and branch is checked out correctly Expected results: checked out branch without any messages. Additional info: I didn't modified any .git internals of the repo and I didn't see the problem with another repositories. Maybe is it related to the number of existing branches? Anyway, git checkout command works well.
*** Bug 1119216 has been marked as a duplicate of this bug. ***
Pavol, This may be the same problem as 1119216, however the reason why I didn't dupe it was that in the case of 1119216, the branch is *not* switched at all. Jes
(In reply to Jes Sorensen from comment #2) > This may be the same problem as 1119216, however the reason why I didn't dupe > it was that in the case of 1119216, the branch is *not* switched at all. Does workaround: git checkout $BRANCH #e.g. BRANCH=rhel-7.0 work for you?
Yes, I can do 'git checkout rhel-x.y' However is that really all rhpkg switch-branch does ? Jes
(In reply to Jes Sorensen from comment #4) > However is that really all rhpkg switch-branch does ? It does only following things: 1. check if repository isn't dirty and deny switch branch in this case 2. fetch new branches from the server (by default in this version, which most likely is the source of this bug) 3. a) if requested branch isn't local yet, runs git checkout -b $BRANCH --track origin/$BRANCH b) if requested branch is local runs: git checkout $BRANCH
FWIW I now see the same with 'fedpkg' when dealing with the Fedora package I maintain. Any ETA for a fix? Jes
(In reply to Jes Sorensen from comment #16) > FWIW I now see the same with 'fedpkg' when dealing with the Fedora package > I maintain. You should be able to use: $ fedpkg switch-branch --no-fetch $BRANCH too. I'd like to release fixed rpkg no later than tomorrow.
fedpkg-1.18-1.fc19,rpkg-1.26-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/fedpkg-1.18-1.fc19,rpkg-1.26-1.fc19
fedpkg-1.18-1.fc20,rpkg-1.26-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/fedpkg-1.18-1.fc20,rpkg-1.26-1.fc20
fedpkg-1.18-1.el6,rpkg-1.26-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/fedpkg-1.18-1.el6,rpkg-1.26-1.el6
fedpkg-1.18-1.fc20, rpkg-1.26-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
fedpkg-1.18-1.fc19, rpkg-1.26-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
fedpkg-1.18-1.el6, rpkg-1.26-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.