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

Side by Side Diff: man/man1/git-retry.1

Issue 401673003: Added 'git-retry' bootstrap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: More updates. Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « man/html/git-retry.html ('k') | man/src/_git-retry_desc.helper.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 '\" t
2 .\" Title: git-retry
3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
5 .\" Date: 07/22/2014
6 .\" Manual: Chromium depot_tools Manual
7 .\" Source: depot_tools 7242c60
8 .\" Language: English
9 .\"
10 .TH "GIT\-RETRY" "1" "07/22/2014" "depot_tools 7242c60" "Chromium depot_tools Ma nual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 git-retry \- Bootstrap function to retry a git command\&.
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 \fIgit retry\fR [\-v] [\-c COUNT] [\-d DELAY] [\-e] \(em \fI<git_subcommand>\fR
36 .fi
37 .sp
38 .SH "DESCRIPTION"
39 .sp
40 git retry is a bootstrap that wraps a standard git command execution in a fault\ -tolerant retry wrapper\&.
41 .sp
42 If a retry succeeds, the return code of the successful attempt is returned\&. Ot herwise, the return code of the last failed attempt is returned\&.
43 .sp
44 The wrapper is aware of git\-specific failure conditions and will only consider retrying if a given failure can be linked to such a condition\&.
45 .SH "OPTIONS"
46 .PP
47 <git_subcommand>
48 .RS 4
49 The
50 git
51 command to retry\&. This should omit the actual
52 git
53 command (e\&.g\&., to retry
54 git clone, use
55 git retry clone)\&.
56 .RE
57 .PP
58 \-v, \-\-verbose
59 .RS 4
60 Increases logging verbosity\&. By default, no additional logging is generated by the
61 git retry
62 command\&. This can be specified multiple times\&.
63 .RE
64 .PP
65 \-c, \-\-retry\-count \fIcount\fR
66 .RS 4
67 Specify the number of retries that should be performed before giving up\&. The d efault retry count is
68 \fB5\fR\&.
69 .RE
70 .PP
71 \-d, \-\-delay \fIseconds\fR
72 .RS 4
73 Floating\-point value that specifies the amount of time (in seconds) to wait aft er a failure\&. This can be zero to specify no delay\&. The default delay is
74 \fB3 seconds\fR\&.
75 .RE
76 .PP
77 \-D, \-\-delay\-factor
78 .RS 4
79 The exponential factor to apply to the delay\&. By default this is
80 \fB2\fR\&. For a given retry round
81 \fBn\fR, the delay for that round will be
82 \fB(<delay\-factor>^(n\-1) * delay)\fR\&. If no delay is specified, this will ha ve no effect\&. If the delay factor is
83 \fB0\fR, the delay will increase linearly (for a given retry round
84 \fBn\fR, the delay will be
85 \fB(n * delay)\fR)\&.
86 .sp
87 .if n \{\
88 .RS 4
89 .\}
90 .nf
91 (Note that a delay factor of *1* will result in a constant delay\&.)
92 .fi
93 .if n \{\
94 .RE
95 .\}
96 .RE
97 .SH "EXIT STATUS"
98 .sp
99 Upon success, git retry will exit with the successful exit code of \fB0\fR\&. On failure, it will exit with the exit code of the last failed attempt\&.
100 .SH "CHROMIUM DEPOT_TOOLS"
101 .sp
102 Part of the chromium \fBdepot_tools\fR(7) suite\&. These tools are meant to assi st with the development of chromium and related projects\&. Download the tools f rom \m[blue]\fBhere\fR\m[]\&\s-2\u[1]\d\s+2\&.
103 .SH "NOTES"
104 .IP " 1." 4
105 here
106 .RS 4
107 \%https://chromium.googlesource.com/chromium/tools/depot_tools.git
108 .RE
OLDNEW
« no previous file with comments | « man/html/git-retry.html ('k') | man/src/_git-retry_desc.helper.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698