Description of problem: The help text for fedpkg switch-branch includes the following: positional arguments: branch Switch to or create branch I understand that to mean that if i give it a branch name that doesn't exist it will create it. Instead it doesn't create it and fails. Version-Release number of selected component (if applicable): fedora-packager-0.5.9.2-2.fc15 How reproducible: Always Steps to Reproduce: 1. Checkout any package with fedpkg 2. Run e.g. "fedpkg switch-branch f15-trial-my-new-build-method" Actual results: Fails with: "Unable to switch to another branch: Unknown remote branch f15-trial-my-new-build-method" Expected results: Either create the branch and switch to it, don't document the feature or perhaps suggest using git branch instead.
I need to re-word that better. If you give a branch name that matches a remote branch, it will create the local branch and link it to the remote branch. But if you give it a name that doesn't match a remote branch, it will give up. I should update the doc to make that more clear, and give an option to create a local branch anyway if there is no remote match.
Fixed in 2c25a0f
rpkg-1.14-1.fc16,fedpkg-1.9-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/rpkg-1.14-1.fc16,fedpkg-1.9-1.fc16
fedpkg-1.9-1.fc15,rpkg-1.14-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/fedpkg-1.9-1.fc15,rpkg-1.14-1.fc15
fedpkg-1.9-1.fc17,rpkg-1.14-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/fedpkg-1.9-1.fc17,rpkg-1.14-1.fc17
Package fedpkg-1.9-1.fc17, rpkg-1.14-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing fedpkg-1.9-1.fc17 rpkg-1.14-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-3682/fedpkg-1.9-1.fc17,rpkg-1.14-1.fc17 then log in and leave karma (feedback).
fedpkg-1.9-1.fc15, rpkg-1.15-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
fedpkg-1.9-1.fc16, rpkg-1.15-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
fedpkg-1.9-1.fc17, rpkg-1.15-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.