@ -858,7 +858,7 @@ at least once to fetch the branches.</p></div>
< h4 id = "_merge_example" > Merge Example< / h4 >
< div class = "paragraph" > < p > < / p > < / div > < div class = "listingblock" > < div class = "content" > < pre > < code > # Here's a commit (from some.committer) that we want to 'drover'.
< span style = "font-weight: bold; color: #ffffff" > $ git log -n 1 --pretty=fuller< / span >
< span style = "color: #e7e71c" > commit c4c505c80a710432a95089cd7dca83e801bd3787 < / span >
< span style = "color: #e7e71c" > commit c980d966aab8516cc651409da4bf21ca8a4a3613 < / span >
Author: some.committer < some.committer@chromium.org>
AuthorDate: Thu Apr 10 08:54:46 2014 +0000
Commit: some.committer < some.committer@chromium.org>
@ -867,10 +867,10 @@ CommitDate: Thu Apr 10 08:54:46 2014 +0000
This change needs to go to branch 9999
# Now do the 'drover'.
< span style = "font-weight: bold; color: #ffffff" > $ git drover --branch 9999 --cherry-pick c4c505c80a710432a95089cd7dca83e801bd3787 < / span >
< span style = "font-weight: bold; color: #ffffff" > $ git drover --branch 9999 --cherry-pick c980d966aab8516cc651409da4bf21ca8a4a3613 < / span >
Going to cherry-pick
"""
< span style = "color: #e7e71c" > commit c4c505c80a710432a95089cd7dca83e801bd3787 < / span >
< span style = "color: #e7e71c" > commit c980d966aab8516cc651409da4bf21ca8a4a3613 < / span >
Author: some.committer < some.committer@chromium.org>
Date: Thu Apr 10 08:54:46 2014 +0000
@ -888,7 +888,7 @@ About to land on 9999. Continue (y/n)? y
< h4 id = "_merge_with_conflicts_example" > Merge with Conflicts Example< / h4 >
< div class = "paragraph" > < p > < / p > < / div > < div class = "listingblock" > < div class = "content" > < pre > < code > # Here's a commit (from some.committer) that we want to 'drover'.
< span style = "font-weight: bold; color: #ffffff" > $ git log -n 1 --pretty=fuller< / span >
< span style = "color: #e7e71c" > commit 1bf3c1360a47ee7db9ab3a1960bada575652ab18 < / span >
< span style = "color: #e7e71c" > commit 2d78cf765179c7be5e7e6d1e4565a0d3769e9174 < / span >
Author: some.committer < some.committer@chromium.org>
AuthorDate: Thu Apr 10 08:54:46 2014 +0000
Commit: some.committer < some.committer@chromium.org>
@ -897,10 +897,10 @@ CommitDate: Thu Apr 10 08:54:46 2014 +0000
This change needs to go to branch 9999
# Now do the 'drover'.
< span style = "font-weight: bold; color: #ffffff" > $ git drover --branch 9999 --cherry-pick 1bf3c1360a47ee7db9ab3a1960bada575652ab18 < / span >
< span style = "font-weight: bold; color: #ffffff" > $ git drover --branch 9999 --cherry-pick 2d78cf765179c7be5e7e6d1e4565a0d3769e9174 < / span >
Going to cherry-pick
"""
< span style = "color: #e7e71c" > commit 1bf3c1360a47ee7db9ab3a1960bada575652ab18 < / span >
< span style = "color: #e7e71c" > commit 2d78cf765179c7be5e7e6d1e4565a0d3769e9174 < / span >
Author: some.committer < some.committer@chromium.org>
Date: Thu Apr 10 08:54:46 2014 +0000
@ -938,28 +938,28 @@ About to land on 9999. Continue (y/n)? y
# Checkout the branch with the change we want to revert.
< span style = "font-weight: bold; color: #ffffff" > $ git checkout -b drover_9999 branch-heads/9999< / span >
Branch drover_9999 set up to track remote ref refs/branch-heads/9999.
Branch ' drover_9999' set up to track remote ref ' refs/branch-heads/9999' .
# Here's the commit we want to revert.
< span style = "font-weight: bold; color: #ffffff" > $ git log -n 1< / span >
< span style = "color: #e7e71c" > commit 62b99a198636d608dd761b8f87714627154dbd34 < / span >
< span style = "color: #e7e71c" > commit 54f88a53372983c7aecacfb9a4d2fa63501fda58 < / span >
Author: some.committer < some.committer@chromium.org>
Date: Thu Apr 10 08:54:46 2014 +0000
This change is horribly broken.
# Now do the revert.
< span style = "font-weight: bold; color: #ffffff" > $ git revert 62b99a198636d608dd761b8f87714627154dbd34 < / span >
< span style = "font-weight: bold; color: #ffffff" > $ git revert 54f88a53372983c7aecacfb9a4d2fa63501fda58 < / span >
# That reverted the change and committed the revert.
< span style = "font-weight: bold; color: #ffffff" > $ git log -n 1< / span >
< span style = "color: #e7e71c" > commit 5ae4e652a29fd78de0ef0a9560878e5ae95c6c82 < / span >
< span style = "color: #e7e71c" > commit 4d932bdd1071e318e6a4d3d6fd6034f9105cad5a < / span >
Author: you < you@chromium.org>
Date: Thu Apr 10 09:11:36 2014 +0000
Revert "This change is horribly broken."
This reverts commit 62b99a198636d608dd761b8f87714627154dbd34 .
This reverts commit 54f88a53372983c7aecacfb9a4d2fa63501fda58 .
# As with old drover, reverts are generally OK to commit without LGTM.
< span style = "font-weight: bold; color: #ffffff" > $ git cl upload -r some.committer@chromium.org --send-mail< / span >
@ -976,7 +976,7 @@ button on the original cherrypick CL.</p></div>
# Here's a commit (from some.committer) that we want to 'drover'.
< span style = "font-weight: bold; color: #ffffff" > $ git log -n 1 --pretty=fuller< / span >
< span style = "color: #e7e71c" > commit 91ee663980fecd3bb7d6e8e166458e84b4e02d99 < / span >
< span style = "color: #e7e71c" > commit 8ed5a6585548f2092890b404f6ff49bd5ce6ab9a < / span >
Author: some.committer < some.committer@chromium.org>
AuthorDate: Thu Apr 10 08:54:46 2014 +0000
Commit: some.committer < some.committer@chromium.org>
@ -986,12 +986,12 @@ CommitDate: Thu Apr 10 08:54:46 2014 +0000
# Checkout the branch we want to 'drover' to.
< span style = "font-weight: bold; color: #ffffff" > $ git checkout -b drover_9999 branch-heads/9999< / span >
Branch drover_9999 set up to track remote ref refs/branch-heads/9999.
Branch ' drover_9999' set up to track remote ref ' refs/branch-heads/9999' .
# Now do the 'drover'.
# IMPORTANT!!! Do Not leave off the '-x' flag
< span style = "font-weight: bold; color: #ffffff" > $ git cherry-pick -x 91ee663980fecd3bb7d6e8e166458e84b4e02d99 < / span >
[drover_9999 73a5705 ] This change needs to go to branch 9999
< span style = "font-weight: bold; color: #ffffff" > $ git cherry-pick -x 8ed5a6585548f2092890b404f6ff49bd5ce6ab9a < / span >
[drover_9999 77a956b ] This change needs to go to branch 9999
Author: some.committer < some.committer@chromium.org>
Date: Thu Apr 10 08:54:46 2014 +0000
1 file changed, 1 insertion(+)
@ -1000,7 +1000,7 @@ Branch drover_9999 set up to track remote ref refs/branch-heads/9999.
# That took the code authored by some.committer and committed it to
# the branch by the person who drovered it (i.e. you).
< span style = "font-weight: bold; color: #ffffff" > $ git log -n 1 --pretty=fuller< / span >
< span style = "color: #e7e71c" > commit 73a5705417e67c31f93d27fdee8240204082b5ef < / span >
< span style = "color: #e7e71c" > commit 77a956ba0f28eb29ed009f58a5d71b6a10283358 < / span >
Author: some.committer < some.committer@chromium.org>
AuthorDate: Thu Apr 10 08:54:46 2014 +0000
Commit: you < you@chromium.org>
@ -1008,7 +1008,7 @@ CommitDate: Thu Apr 10 09:11:36 2014 +0000
This change needs to go to branch 9999
(cherry picked from commit 91ee663980fecd3bb7d6e8e166458e84b4e02d99 )
(cherry picked from commit 8ed5a6585548f2092890b404f6ff49bd5ce6ab9a )
# Looks good. Ship it!
< span style = "font-weight: bold; color: #ffffff" > $ git cl upload< / span >
@ -1041,7 +1041,7 @@ from <a href="https://chromium.googlesource.com/chromium/tools/depot_tools.git">
< div id = "footnotes" > < hr / > < / div >
< div id = "footer" >
< div id = "footer-text" >
Last updated 2017-06-21 09:37:12 P DT
Last updated 2019-05-03 10:40:16 E DT
< / div >
< / div >
< / body >