Commit 48fe7029 authored by Aaron Gable's avatar Aaron Gable Committed by Commit Bot

Remove old git-cherry-pick-upload documentation

The command itself was removed in
https://chromium-review.googlesource.com/693339

Bug: 770408
Change-Id: Ie3006b75313715c395357efa6ffc67348e192c5c
Reviewed-on: https://chromium-review.googlesource.com/1070757Reviewed-by: 's avatarAndrii Shyshkalov <tandrii@chromium.org>
Commit-Queue: Aaron Gable <agable@chromium.org>
parent 4e9b50ab
......@@ -771,14 +771,6 @@ ease the development workflow.</p></div>
<div class="paragraph"><p>A tutorial for these tools can be found at <a href="depot_tools_tutorial.html">depot_tools_tutorial(7)</a>.</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
<a href="git-cherry-pick-upload.html">git-cherry-pick-upload(1)</a>
</dt>
<dd>
<p>
Upload the diff between a revision and its parent to rietveld.
</p>
</dd>
<dt class="hdlist1">
<a href="git-cl.html">git-cl(1)</a>
</dt>
<dd>
......
This diff is collapsed.
'\" t
.\" Title: git-cherry-pick-upload
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 12/15/2016
.\" Manual: Chromium depot_tools Manual
.\" Source: depot_tools f72f1ad
.\" Language: English
.\"
.TH "GIT\-CHERRY\-PICK\-U" "1" "12/15/2016" "depot_tools f72f1ad" "Chromium depot_tools Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
git-cherry-pick-upload \- Upload the diff between a revision and its parent to rietveld\&.
.SH "SYNOPSIS"
.sp
.nf
\fIgit cherry\-pick\-upload\fR \-\-branch <remote_branch_name> <commit_hash>
.fi
.sp
.SH "DESCRIPTION"
.sp
git cherry\-pick\-upload is used to upload a cherry pick to rietveld\&. It uses your view of the remote to generate the diff between a revision and its parent, and then uploads that diff to rietveld\&.
.sp
The commit message is annotated with "(cherry picked from commit [parent sha1])" as if it were generated by git cherry\-pick \-x\&.
.SH "EXAMPLE"
.sp
.sp
.if n \{\
.RS 4
.\}
.nf
\fB$ git cherry\-pick\-upload \-h\fR
\fB$ git cherry\-pick\-upload \-b my_branch c02b7d24a066adb747fdeb12deb21bfa\fR
Found parent revision: b96d69fda53845a205151613a9c4cc93
Loaded authentication cookies from \&.codereview_upload_cookies
Issue created\&. URL: https://codereview\&.chromium\&.org/1234567890
Uploading base_file for some/path/first\&.file: OK
Uploading some/path/first\&.file: OK
Uploading base_file for some/path/second\&.file: OK
Uploading some/path/second\&.file: OK
Uploading base_file for some/path/third\&.file: OK
Uploading some/path/third\&.file: OK
Finalizing upload: OK
.fi
.if n \{\
.RE
.\}
.sp
.SH "SEE ALSO"
.sp
\fBgit-cherry-pick\fR(1) \fBgit-cl-upload\fR(1)
.SH "CHROMIUM DEPOT_TOOLS"
.sp
Part of the chromium \fBdepot_tools\fR(7) suite\&. These tools are meant to assist with the development of chromium and related projects\&. Download the tools from \m[blue]\fBhere\fR\m[]\&\s-2\u[1]\d\s+2\&.
.SH "NOTES"
.IP " 1." 4
here
.RS 4
\%https://chromium.googlesource.com/chromium/tools/depot_tools.git
.RE
......@@ -42,11 +42,6 @@ A listing of both categories of tools follows\&.
.sp
A tutorial for these tools can be found at \fBdepot_tools_tutorial\fR(7)\&.
.PP
\fBgit-cherry-pick-upload\fR(1)
.RS 4
Upload the diff between a revision and its parent to rietveld\&.
.RE
.PP
\fBgit-cl\fR(1)
.RS 4
Interact with code reviews on Gerrit and Rietveld
......
Upload the diff between a revision and its parent to rietveld.
#!/usr/bin/env bash
. demo_repo.sh
run git cherry-pick-upload -h
echo
pcommand git cherry-pick-upload -b my_branch c02b7d24a066adb747fdeb12deb21bfa
echo 'Found parent revision: b96d69fda53845a205151613a9c4cc93'
echo 'Loaded authentication cookies from .codereview_upload_cookies'
echo 'Issue created. URL: https://codereview.chromium.org/1234567890'
echo ' Uploading base_file for some/path/first.file: OK'
echo ' Uploading some/path/first.file: OK'
echo ' Uploading base_file for some/path/second.file: OK'
echo ' Uploading some/path/second.file: OK'
echo ' Uploading base_file for some/path/third.file: OK'
echo ' Uploading some/path/third.file: OK'
echo 'Finalizing upload: OK'
git-cherry-pick-upload(1)
=========================
NAME
----
git-cherry-pick-upload -
include::_git-cherry-pick-upload_desc.helper.txt[]
SYNOPSIS
--------
[verse]
'git cherry-pick-upload' --branch <remote_branch_name> <commit_hash>
DESCRIPTION
-----------
`git cherry-pick-upload` is used to upload a cherry pick to rietveld. It uses
your view of the remote to generate the diff between a revision and its parent,
and then uploads that diff to rietveld.
The commit message is annotated with "(cherry picked from commit [parent sha1])"
as if it were generated by `git cherry-pick -x`.
EXAMPLE
-------
demo:1[]
SEE ALSO
--------
linkgit:git-cherry-pick[1]
linkgit:git-cl-upload[1]
include::_footer.txt[]
// vim: ft=asciidoc:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment