Where are all the pvops branches?
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
Quoted 4 lines · Keir Fraser
So I cloned
git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitbut 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.
Quoted 6 lines · Ian Campbell
Quoted 4 lines · Keir Fraser
So I cloned
git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitbut 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?
Quoted 6 lines
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"
Signature · 1 line
Vincent
Backport changeset 21002:7ed57b6e4cd to xen 3.4.3
In reply to Keir FraserI 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.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel