Sha256: d4c974250f3deffa950e645f7fa334fcc3d24a7a7488faec2b8a5f31ef6659c2

Contents?: true

Size: 1.11 KB

Versions: 47

Compression:

Stored size: 1.11 KB

Contents

#!/usr/bin/env bash
. git-drover.demo.common.sh

drover_c "This change needs to go to branch 9999"

echo "# Here's a commit (from some.committer) that we want to 'drover'."
run git log -n 1 --pretty=fuller
echo
echo "# Now do the 'drover'."
pcommand git drover --branch 9999 \
  --cherry-pick $(git show-ref -s pick_commit)

echo "Going to cherry-pick"
echo '"""'
output git log -n 1
echo '"""'
echo "to 9999. Continue (y/n)? y"
echo
echo "Error: Patch failed to apply."
echo
echo "A workdir for this cherry-pick has been created in"
echo "  /tmp/drover_9999"
echo
echo "To continue, resolve the conflicts there and run"
echo "  git drover --continue /tmp/drover_9999"
echo
echo "To abort this cherry-pick run"
echo "  git drover --abort /tmp/drover_9999"
echo
pcommand pushd /tmp/drover_9999
echo "# Manually resolve conflicts."
pcommand git add path/to/file_with_conflicts
pcommand popd
pcommand git drover --continue /tmp/drover_9999
echo
echo "# A cl is uploaded to rietveld, where it can be reviewed before landing."
echo
echo "About to land on 9999. Continue (y/n)? y"
echo "# The cherry-pick cl is landed on the branch 9999."

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
libv8-8.4.255.0.1 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-8.4.255.0 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-7.8.279.23.0beta1 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-7.4.288.28.0beta1 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-7.3.492.27.3beta1 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-7.3.492.27.1 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-7.3.492.27.0 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-7.3.492.27.0beta1 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-6.7.288.46.1 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-6.7.288.46.0 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-6.7.288.46.1beta0 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-6.3.292.48.1 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-6.3.292.48.0 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-6.3.292.48.0beta2 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-6.3.292.48.0beta1 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-6.2.414.42.1 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-6.2.414.42.0 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-6.2.414.42.0beta1 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-6.0.286.54.3 vendor/depot_tools/man/src/git-drover.demo.4.sh
libv8-6.0.286.54.2 vendor/depot_tools/man/src/git-drover.demo.4.sh