All of lore.kernel.org
 help / color / mirror / Atom feed
* Where are all the pvops branches?
@ 2010-03-06 19:01 Keir Fraser
  2010-03-06 19:11 ` Ian Campbell
  2010-03-06 21:10 ` Backport changeset 21002:7ed57b6e4cd to xen 3.4.3 Boris Derzhavets
  0 siblings, 2 replies; 4+ messages in thread
From: Keir Fraser @ 2010-03-06 19:01 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

So I cloned git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git but
the result of 'git branch' is to list only xen/master, and if I try things
like 'git checkout xen/stable' then I get told there is no such branch. What
stupid thing am I doing wrong?

 -- Keir

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Where are all the pvops branches?
  2010-03-06 19:01 Where are all the pvops branches? Keir Fraser
@ 2010-03-06 19:11 ` Ian Campbell
  2010-03-07  9:33   ` Vincent Hanquez
  2010-03-06 21:10 ` Backport changeset 21002:7ed57b6e4cd to xen 3.4.3 Boris Derzhavets
  1 sibling, 1 reply; 4+ messages in thread
From: Ian Campbell @ 2010-03-06 19:11 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel@lists.xensource.com

On Sat, 2010-03-06 at 19:01 +0000, Keir Fraser wrote: 
> So I cloned git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git but
> the result of 'git branch' is to list only xen/master, and if I try things
> like 'git checkout xen/stable' then I get told there is no such branch. What
> stupid thing am I doing wrong?

You need "git branch -r" to show remote branches.

xen/master needs to be prepended by the remote name, which defaults to
origin unless you have been doing clever things with "git remote".  Try
"git checkout -b xen/stable origin/xen/stable" to checkout
origin/xen/stable into a local branch called xen/stable.

Ian.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Backport  changeset 21002:7ed57b6e4cd to xen 3.4.3
  2010-03-06 19:01 Where are all the pvops branches? Keir Fraser
  2010-03-06 19:11 ` Ian Campbell
@ 2010-03-06 21:10 ` Boris Derzhavets
  1 sibling, 0 replies; 4+ messages in thread
From: Boris Derzhavets @ 2010-03-06 21:10 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com, Keir Fraser


[-- Attachment #1.1: Type: text/plain, Size: 202 bytes --]

I believe  changeset 21002:7ed57b6e4cd "pygrub: Fix grub2 support when config is on a separate /boot partition" makes sense to pull into xen-3.4-testing.hg

Boris.
P.S. It works fine.




      

[-- Attachment #1.2: Type: text/html, Size: 332 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Where are all the pvops branches?
  2010-03-06 19:11 ` Ian Campbell
@ 2010-03-07  9:33   ` Vincent Hanquez
  0 siblings, 0 replies; 4+ messages in thread
From: Vincent Hanquez @ 2010-03-07  9:33 UTC (permalink / raw)
  To: Ian Campbell; +Cc: xen-devel@lists.xensource.com, Keir Fraser

On 06/03/10 19:11, Ian Campbell wrote:
> On Sat, 2010-03-06 at 19:01 +0000, Keir Fraser wrote:
>> So I cloned git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git but
>> the result of 'git branch' is to list only xen/master, and if I try things
>> like 'git checkout xen/stable' then I get told there is no such branch. What
>> stupid thing am I doing wrong?
>
> You need "git branch -r" to show remote branches.
>
> xen/master needs to be prepended by the remote name, which defaults to
> origin unless you have been doing clever things with "git remote".  Try
> "git checkout -b xen/stable origin/xen/stable" to checkout
> origin/xen/stable into a local branch called xen/stable.

if you want to track a remote branch, you probably want:

"git checkout --track origin/xen/stable"

which means you want to create a "xen/stable" local branch that track 
the xen/stable branch on the "origin" remote (each time you pull 
origin/xen/stable it will merge it automatically in your local 
xen/stable branch).

Ian's command only creates a local "xen/stable" at the same reference 
that origin/xen/stable is pointing too, but doesn't add the policy about 
pull. you can easily add the tracking a-posteriori with:

"git branch --track xen/stable origin/xen/stable"

-- 
Vincent

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-07  9:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-06 19:01 Where are all the pvops branches? Keir Fraser
2010-03-06 19:11 ` Ian Campbell
2010-03-07  9:33   ` Vincent Hanquez
2010-03-06 21:10 ` Backport changeset 21002:7ed57b6e4cd to xen 3.4.3 Boris Derzhavets

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.