Bug 1066522 - [RFE] switch-branch should first pull new branch options.
Summary: [RFE] switch-branch should first pull new branch options.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpkg
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-18 14:58 UTC by Yaniv Lavi
Modified: 2014-08-15 18:59 UTC (History)
3 users (show)

Fixed In Version: fedpkg-1.18-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-08 08:40:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Yaniv Lavi 2014-02-18 14:58:17 UTC
Description of problem:
switch-branch should first pull new branch options.
Should not need to do git pull for this to work.

Version-Release number of selected component (if applicable):
rhpkg-1.17-1

How reproducible:
always

Steps to Reproduce:
1. setup new remote branch 
2. try to switch to that branch locally

Actual results:
fails

Expected results:
should pull then switch

Additional info:

Comment 1 Pavol Babinčák 2014-02-18 15:16:41 UTC
(In reply to Yaniv Dary from comment #0)
> Should not need to do git pull for this to work.
git fetch should do less harm here and still work in your use case. Any objection to that?

Comment 2 Yaniv Lavi 2014-02-18 16:03:09 UTC
(In reply to Pavol Babinčák from comment #1)
> (In reply to Yaniv Dary from comment #0)
> > Should not need to do git pull for this to work.
> git fetch should do less harm here and still work in your use case. Any
> objection to that?

then do rhpkg fetch. it is ver confusing that I need to use both rhpkg commands and git commands. the minimum is to write and recommend a user to do this.

Comment 3 Pavol Babinčák 2014-02-19 09:37:22 UTC
This bug will be fixed in underlying library which is common between fedpkg and rhpkg.

Comment 4 Fedora Update System 2014-07-30 11:55:45 UTC
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

Comment 5 Fedora Update System 2014-07-30 12:00:50 UTC
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

Comment 6 Fedora Update System 2014-07-30 12:20:03 UTC
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

Comment 7 Fedora Update System 2014-07-30 19:34:36 UTC
Package fedpkg-1.18-1.el6, rpkg-1.26-1.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing fedpkg-1.18-1.el6 rpkg-1.26-1.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-2068/fedpkg-1.18-1.el6,rpkg-1.26-1.el6
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-08-08 08:40:05 UTC
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.

Comment 9 Fedora Update System 2014-08-15 02:54:43 UTC
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.

Comment 10 Fedora Update System 2014-08-15 18:59:27 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.