On 1/14/11 1:53 AM, Andreas Schwab wrote:
> John Dennis writes:
>
>> I recently got slightly burned by an unexpected behavior with
>> switch-branch. Apparently after switching branches fedpkg does not do a
>> pull, I'm not sure if this is right or wrong, I can see arguments on
>> both sides. L
John Dennis writes:
> I recently got slightly burned by an unexpected behavior with
> switch-branch. Apparently after switching branches fedpkg does not do a
> pull, I'm not sure if this is right or wrong, I can see arguments on
> both sides. Let me give an example:
>
> foo (master)$ fedpkg sw
On 1/13/11 10:47 AM, Matt McCutchen wrote:
> On Thu, 2011-01-13 at 10:42 -0800, Jesse Keating wrote:
>> There is the case that when
>> we switch to the branch, your last used state is behind or ahead the
>> local index (that is the cached metadata the repo has about the state of
>> each branch upst
Jesse Keating wrote:
> At most, we could warn about your status compared to the local
> index, a simple "git status" would show that. We cannot warn about
> your stats compared to upstream without fetching new data.
For folks with recent git (anything in Fedora will do, EPEL, not so
much), there'
On Thu, 2011-01-13 at 10:42 -0800, Jesse Keating wrote:
> There is the case that when
> we switch to the branch, your last used state is behind or ahead the
> local index (that is the cached metadata the repo has about the state of
> each branch upstream).
Please call it the remote-tracking branch
On 1/13/11 8:39 AM, John Dennis wrote:
> I recently got slightly burned by an unexpected behavior with
> switch-branch. Apparently after switching branches fedpkg does not do a
> pull, I'm not sure if this is right or wrong, I can see arguments on
> both sides. Let me give an example:
>
> foo (
That is consistent with the normal git workflow. Since fedpkg is a helper
around simple git operations, it would make sense for it to give you a
message saying you might want to pull, and to have a --pull option to do it
for you.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.f
I recently got slightly burned by an unexpected behavior with
switch-branch. Apparently after switching branches fedpkg does not do a
pull, I'm not sure if this is right or wrong, I can see arguments on
both sides. Let me give an example:
foo (master)$ fedpkg switch-branch f14
foo (f14)$
You c