74
edits
Changes
no edit summary
<!--T:23-->
Define the following function:
function apply_cherry_pick {
local git_remote=$1
local dest_dir=$2
local cherry_pick_refs=$3
pushd .
cd $dest_dir
# modify current source
for ref in ${cherry_pick_refs//,/ }; do
echo "Applying $ref from $git_remote ..."
git fetch $git_remote $ref
git cherry-pick FETCH_HEAD
echo "Applying $ref from $git_remote ... done"
done
popd
}
<!--T:24-->
Clone nova repository and apply pending changes:
$ cd ~
$ source ~stack/devstack/functions