Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: man/src/git-drover.demo.1.sh

Issue 549643002: Add 'revert' example to git-drover docs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: formatting tweaks Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « man/src/git-drover.txt ('k') | man/src/git-drover.demo.2.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: man/src/git-drover.demo.1.sh
diff --git a/man/src/git-drover.demo.1.sh b/man/src/git-drover.demo.1.sh
index eb3907cfdcdb62abe0e1f664c5a748d8be845a2a..84876c49aeb6d39fd77395f377bf538723158f78 100755
--- a/man/src/git-drover.demo.1.sh
+++ b/man/src/git-drover.demo.1.sh
@@ -1,22 +1,7 @@
#!/usr/bin/env bash
-. demo_repo.sh
+. git-drover.demo.common.sh
-silent git push origin refs/remotes/origin/master:refs/branch-heads/9999
-silent git config --add remote.origin.fetch \
- +refs/branch-heads/*:refs/remotes/branch-heads/*
-silent git fetch origin
-
-silent git checkout -b master origin/master
-add modified_file
-set_user some.committer
-c "This change needs to go to branch 9999"
-silent git tag pick_commit
-
-comment Before working with branches, you must \'gclient sync \
- --with_branch_heads\' at least once to fetch the branches.
-
-set_user branch.maintainer
-tick 1000
+drover_c "This change needs to go to branch 9999"
echo "# Make sure we have the most up-to-date branch sources."
run git fetch
@@ -37,6 +22,6 @@ run git log -n 1 --pretty=fuller
echo
echo "# Looks good. Ship it!"
pcommand git cl upload
-echo "# Get LGTM or TBR."
+echo "# Wait for LGTM or TBR it."
run git cl land
echo "# Or skip the LGTM/TBR and just 'git cl land --bypass-hooks'"
« no previous file with comments | « man/src/git-drover.txt ('k') | man/src/git-drover.demo.2.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698