libv8 7.3.492.27.3beta1 → 7.4.288.28.0beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1 -0
  3. data/lib/libv8/version.rb +1 -1
  4. data/vendor/depot_tools/annotated_gclient.py +4 -2
  5. data/vendor/depot_tools/auth.py +2 -0
  6. data/vendor/depot_tools/autoninja +3 -1
  7. data/vendor/depot_tools/autoninja.bat +1 -1
  8. data/vendor/depot_tools/autoninja.py +3 -1
  9. data/vendor/depot_tools/bb +1 -1
  10. data/vendor/depot_tools/bootstrap/win/manifest.txt +1 -1
  11. data/vendor/depot_tools/buildbucket.py +8 -6
  12. data/vendor/depot_tools/checkout.py +7 -5
  13. data/vendor/depot_tools/cipd +1 -1
  14. data/vendor/depot_tools/cipd_manifest.txt +4 -4
  15. data/vendor/depot_tools/cipd_manifest.versions +80 -80
  16. data/vendor/depot_tools/cit.py +9 -7
  17. data/vendor/depot_tools/clang_format.py +4 -1
  18. data/vendor/depot_tools/clang_format_merge_driver.py +9 -7
  19. data/vendor/depot_tools/compile_single_file.py +3 -1
  20. data/vendor/depot_tools/dart_format.py +4 -2
  21. data/vendor/depot_tools/depot-tools-auth.py +10 -8
  22. data/vendor/depot_tools/fix_encoding.py +5 -2
  23. data/vendor/depot_tools/gclient-new-workdir.py +2 -0
  24. data/vendor/depot_tools/gclient.py +8 -9
  25. data/vendor/depot_tools/gclient_scm.py +54 -28
  26. data/vendor/depot_tools/gclient_utils.py +14 -4
  27. data/vendor/depot_tools/gerrit_util.py +8 -6
  28. data/vendor/depot_tools/git_cache.py +53 -37
  29. data/vendor/depot_tools/git_cl.py +115 -42
  30. data/vendor/depot_tools/git_drover.py +3 -1
  31. data/vendor/depot_tools/git_find_releases.py +8 -6
  32. data/vendor/depot_tools/git_footers.py +7 -5
  33. data/vendor/depot_tools/git_freezer.py +3 -1
  34. data/vendor/depot_tools/git_map_branches.py +7 -5
  35. data/vendor/depot_tools/git_mark_merge_base.py +8 -6
  36. data/vendor/depot_tools/git_nav_downstream.py +7 -5
  37. data/vendor/depot_tools/git_number.py +3 -1
  38. data/vendor/depot_tools/git_rebase_update.py +38 -43
  39. data/vendor/depot_tools/git_reparent_branch.py +8 -6
  40. data/vendor/depot_tools/git_upstream_diff.py +4 -2
  41. data/vendor/depot_tools/gn.py +6 -4
  42. data/vendor/depot_tools/infra/config/recipes.cfg +1 -1
  43. data/vendor/depot_tools/led +1 -1
  44. data/vendor/depot_tools/luci-auth +1 -1
  45. data/vendor/depot_tools/lucicfg +1 -1
  46. data/vendor/depot_tools/mac_toolchain +1 -1
  47. data/vendor/depot_tools/man/html/depot_tools.html +1 -1
  48. data/vendor/depot_tools/man/html/depot_tools_tutorial.html +28 -22
  49. data/vendor/depot_tools/man/html/git-cl.html +1 -1
  50. data/vendor/depot_tools/man/html/git-drover.html +18 -18
  51. data/vendor/depot_tools/man/html/git-footers.html +1 -1
  52. data/vendor/depot_tools/man/html/git-freeze.html +3 -3
  53. data/vendor/depot_tools/man/html/git-hyper-blame.html +1 -1
  54. data/vendor/depot_tools/man/html/git-map-branches.html +2 -2
  55. data/vendor/depot_tools/man/html/git-map.html +1 -1
  56. data/vendor/depot_tools/man/html/git-mark-merge-base.html +1 -1
  57. data/vendor/depot_tools/man/html/git-nav-downstream.html +3 -3
  58. data/vendor/depot_tools/man/html/git-nav-upstream.html +12 -6
  59. data/vendor/depot_tools/man/html/git-new-branch.html +1 -1
  60. data/vendor/depot_tools/man/html/git-rebase-update.html +20 -1
  61. data/vendor/depot_tools/man/html/git-rename-branch.html +1 -1
  62. data/vendor/depot_tools/man/html/git-reparent-branch.html +1 -1
  63. data/vendor/depot_tools/man/html/git-retry.html +1 -1
  64. data/vendor/depot_tools/man/html/git-squash-branch.html +1 -1
  65. data/vendor/depot_tools/man/html/git-thaw.html +1 -1
  66. data/vendor/depot_tools/man/html/git-upstream-diff.html +10 -6
  67. data/vendor/depot_tools/man/man1/git-cl.1 +4 -4
  68. data/vendor/depot_tools/man/man1/git-drover.1 +21 -21
  69. data/vendor/depot_tools/man/man1/git-footers.1 +4 -4
  70. data/vendor/depot_tools/man/man1/git-freeze.1 +6 -6
  71. data/vendor/depot_tools/man/man1/git-hyper-blame.1 +4 -4
  72. data/vendor/depot_tools/man/man1/git-map-branches.1 +4 -4
  73. data/vendor/depot_tools/man/man1/git-map.1 +4 -4
  74. data/vendor/depot_tools/man/man1/git-mark-merge-base.1 +4 -4
  75. data/vendor/depot_tools/man/man1/git-nav-downstream.1 +6 -6
  76. data/vendor/depot_tools/man/man1/git-nav-upstream.1 +15 -9
  77. data/vendor/depot_tools/man/man1/git-new-branch.1 +3 -3
  78. data/vendor/depot_tools/man/man1/git-rebase-update.1 +14 -4
  79. data/vendor/depot_tools/man/man1/git-rename-branch.1 +4 -4
  80. data/vendor/depot_tools/man/man1/git-reparent-branch.1 +4 -4
  81. data/vendor/depot_tools/man/man1/git-retry.1 +4 -4
  82. data/vendor/depot_tools/man/man1/git-squash-branch.1 +4 -4
  83. data/vendor/depot_tools/man/man1/git-thaw.1 +4 -4
  84. data/vendor/depot_tools/man/man1/git-upstream-diff.1 +7 -13
  85. data/vendor/depot_tools/man/man7/depot_tools.7 +4 -4
  86. data/vendor/depot_tools/man/man7/depot_tools_tutorial.7 +33 -27
  87. data/vendor/depot_tools/man/src/filter_demo_output.py +3 -1
  88. data/vendor/depot_tools/man/src/git-rebase-update.txt +7 -0
  89. data/vendor/depot_tools/my_activity.py +13 -11
  90. data/vendor/depot_tools/my_reviews.py +34 -29
  91. data/vendor/depot_tools/ninjalog_uploader_wrapper.py +4 -2
  92. data/vendor/depot_tools/owners_finder.py +3 -1
  93. data/vendor/depot_tools/patch.py +1 -1
  94. data/vendor/depot_tools/post_build_ninja_summary.py +17 -15
  95. data/vendor/depot_tools/presubmit_canned_checks.py +3 -1
  96. data/vendor/depot_tools/presubmit_support.py +10 -5
  97. data/vendor/depot_tools/prpc +1 -1
  98. data/vendor/depot_tools/recipes/README.recipes.md +17 -17
  99. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail.json +1 -6
  100. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch.json +2 -4
  101. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch_download.json +1 -6
  102. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/unrecognized_commit_repo.json +0 -5
  103. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/describe-failed.json +2 -4
  104. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/pkg_bad_file.json +25 -5
  105. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/pkg_bad_mode.json +23 -5
  106. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/pkg_bad_verfile.json +23 -5
  107. data/vendor/depot_tools/recipes/recipe_modules/gclient/config.py +0 -6
  108. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.py +0 -1
  109. data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.expected/basic.json +1 -5
  110. data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/can_fail_build.json +1 -6
  111. data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/count-objects_with_bad_output_fails_build.json +0 -5
  112. data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/rebase_failed.json +1 -6
  113. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/set_failure_hash_with_no_steps.json +1 -3
  114. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_gerrit_patch.json +4 -6
  115. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_gerrit_patch_and_target_ref.json +4 -6
  116. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_git_patch.json +4 -6
  117. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_git_patch_luci.json +4 -6
  118. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_wrong_patch.json +4 -6
  119. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_wrong_patch_new.json +4 -6
  120. data/vendor/depot_tools/rietveld.py +3 -1
  121. data/vendor/depot_tools/roll_dep.py +2 -0
  122. data/vendor/depot_tools/roll_dep_svn.py +14 -11
  123. data/vendor/depot_tools/scm.py +10 -5
  124. data/vendor/depot_tools/split_cl.py +13 -11
  125. data/vendor/depot_tools/subprocess2.py +1 -1
  126. data/vendor/depot_tools/third_party/colorama/LICENSE.txt +0 -1
  127. data/vendor/depot_tools/third_party/colorama/README.chromium +4 -5
  128. data/vendor/depot_tools/third_party/colorama/README.rst +346 -0
  129. data/vendor/depot_tools/third_party/colorama/__init__.py +3 -4
  130. data/vendor/depot_tools/third_party/colorama/ansi.py +82 -30
  131. data/vendor/depot_tools/third_party/colorama/ansitowin32.py +105 -37
  132. data/vendor/depot_tools/third_party/colorama/initialise.py +39 -15
  133. data/vendor/depot_tools/third_party/colorama/win32.py +46 -28
  134. data/vendor/depot_tools/third_party/colorama/winterm.py +80 -31
  135. data/vendor/depot_tools/third_party/upload.py +1 -1
  136. data/vendor/depot_tools/upload_to_google_storage.py +8 -6
  137. data/vendor/depot_tools/vpython +1 -1
  138. data/vendor/depot_tools/watchlists.py +5 -3
  139. data/vendor/depot_tools/weekly +4 -2
  140. data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +38 -36
  141. data/vendor/depot_tools/win_toolchain/package_from_installed.py +10 -8
  142. data/vendor/depot_tools/wtf +5 -3
  143. metadata +3 -3
  144. data/vendor/depot_tools/third_party/colorama/README.txt +0 -304
@@ -2,12 +2,12 @@
2
2
  .\" Title: git-new-branch
3
3
  .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
4
  .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5
- .\" Date: 12/05/2018
5
+ .\" Date: 05/03/2019
6
6
  .\" Manual: Chromium depot_tools Manual
7
- .\" Source: depot_tools 0379dbb3
7
+ .\" Source: depot_tools e58cce6c
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "GIT\-NEW\-BRANCH" "1" "12/05/2018" "depot_tools 0379dbb3" "Chromium depot_tools Manual"
10
+ .TH "GIT\-NEW\-BRANCH" "1" "05/03/2019" "depot_tools e58cce6c" "Chromium depot_tools Manual"
11
11
  .\" -----------------------------------------------------------------
12
12
  .\" * Define some portability stuff
13
13
  .\" -----------------------------------------------------------------
@@ -1,13 +1,13 @@
1
1
  '\" t
2
2
  .\" Title: git-rebase-update
3
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: 12/15/2016
4
+ .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5
+ .\" Date: 05/03/2019
6
6
  .\" Manual: Chromium depot_tools Manual
7
- .\" Source: depot_tools f72f1ad
7
+ .\" Source: depot_tools e58cce6c
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "GIT\-REBASE\-UPDATE" "1" "12/15/2016" "depot_tools f72f1ad" "Chromium depot_tools Manual"
10
+ .TH "GIT\-REBASE\-UPDATE" "1" "05/03/2019" "depot_tools e58cce6c" "Chromium depot_tools Manual"
11
11
  .\" -----------------------------------------------------------------
12
12
  .\" * Define some portability stuff
13
13
  .\" -----------------------------------------------------------------
@@ -113,6 +113,11 @@ depot\-tools\&.upstream, see
113
113
  .RE
114
114
  .SH "OPTIONS"
115
115
  .PP
116
+ \-k, \-\-keep\-going
117
+ .RS 4
118
+ Keep processing past failed rebases\&.
119
+ .RE
120
+ .PP
116
121
  \-n, \-\-no\-fetch
117
122
  .RS 4
118
123
  Skip the
@@ -124,6 +129,11 @@ phase of rebase\-update\&.
124
129
  .RS 4
125
130
  More text than your terminal can handle\&.
126
131
  .RE
132
+ .PP
133
+ \-\-current
134
+ .RS 4
135
+ Only rebase the current branch\&.
136
+ .RE
127
137
  .SH "CONFIGURATION VARIABLES"
128
138
  .SS "depot\-tools\&.rebase\-update\&.starting\-branch"
129
139
  .sp
@@ -1,13 +1,13 @@
1
1
  '\" t
2
2
  .\" Title: git-rename-branch
3
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: 12/15/2016
4
+ .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5
+ .\" Date: 05/03/2019
6
6
  .\" Manual: Chromium depot_tools Manual
7
- .\" Source: depot_tools f72f1ad
7
+ .\" Source: depot_tools e58cce6c
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "GIT\-RENAME\-BRANCH" "1" "12/15/2016" "depot_tools f72f1ad" "Chromium depot_tools Manual"
10
+ .TH "GIT\-RENAME\-BRANCH" "1" "05/03/2019" "depot_tools e58cce6c" "Chromium depot_tools Manual"
11
11
  .\" -----------------------------------------------------------------
12
12
  .\" * Define some portability stuff
13
13
  .\" -----------------------------------------------------------------
@@ -1,13 +1,13 @@
1
1
  '\" t
2
2
  .\" Title: git-reparent-branch
3
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: 12/15/2016
4
+ .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5
+ .\" Date: 05/03/2019
6
6
  .\" Manual: Chromium depot_tools Manual
7
- .\" Source: depot_tools f72f1ad
7
+ .\" Source: depot_tools e58cce6c
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "GIT\-REPARENT\-BRANC" "1" "12/15/2016" "depot_tools f72f1ad" "Chromium depot_tools Manual"
10
+ .TH "GIT\-REPARENT\-BRANC" "1" "05/03/2019" "depot_tools e58cce6c" "Chromium depot_tools Manual"
11
11
  .\" -----------------------------------------------------------------
12
12
  .\" * Define some portability stuff
13
13
  .\" -----------------------------------------------------------------
@@ -1,13 +1,13 @@
1
1
  '\" t
2
2
  .\" Title: git-retry
3
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: 12/15/2016
4
+ .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5
+ .\" Date: 05/03/2019
6
6
  .\" Manual: Chromium depot_tools Manual
7
- .\" Source: depot_tools f72f1ad
7
+ .\" Source: depot_tools e58cce6c
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "GIT\-RETRY" "1" "12/15/2016" "depot_tools f72f1ad" "Chromium depot_tools Manual"
10
+ .TH "GIT\-RETRY" "1" "05/03/2019" "depot_tools e58cce6c" "Chromium depot_tools Manual"
11
11
  .\" -----------------------------------------------------------------
12
12
  .\" * Define some portability stuff
13
13
  .\" -----------------------------------------------------------------
@@ -1,13 +1,13 @@
1
1
  '\" t
2
2
  .\" Title: git-squash-branch
3
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: 02/27/2017
4
+ .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5
+ .\" Date: 05/03/2019
6
6
  .\" Manual: Chromium depot_tools Manual
7
- .\" Source: depot_tools a6ba28f5
7
+ .\" Source: depot_tools e58cce6c
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "GIT\-SQUASH\-BRANCH" "1" "02/27/2017" "depot_tools a6ba28f5" "Chromium depot_tools Manual"
10
+ .TH "GIT\-SQUASH\-BRANCH" "1" "05/03/2019" "depot_tools e58cce6c" "Chromium depot_tools Manual"
11
11
  .\" -----------------------------------------------------------------
12
12
  .\" * Define some portability stuff
13
13
  .\" -----------------------------------------------------------------
@@ -1,13 +1,13 @@
1
1
  '\" t
2
2
  .\" Title: git-thaw
3
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: 12/15/2016
4
+ .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5
+ .\" Date: 05/03/2019
6
6
  .\" Manual: Chromium depot_tools Manual
7
- .\" Source: depot_tools f72f1ad
7
+ .\" Source: depot_tools e58cce6c
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "GIT\-THAW" "1" "12/15/2016" "depot_tools f72f1ad" "Chromium depot_tools Manual"
10
+ .TH "GIT\-THAW" "1" "05/03/2019" "depot_tools e58cce6c" "Chromium depot_tools Manual"
11
11
  .\" -----------------------------------------------------------------
12
12
  .\" * Define some portability stuff
13
13
  .\" -----------------------------------------------------------------
@@ -2,12 +2,12 @@
2
2
  .\" Title: git-upstream-diff
3
3
  .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
4
  .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5
- .\" Date: 06/20/2018
5
+ .\" Date: 05/03/2019
6
6
  .\" Manual: Chromium depot_tools Manual
7
- .\" Source: depot_tools 79d42dfb
7
+ .\" Source: depot_tools e58cce6c
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "GIT\-UPSTREAM\-DIFF" "1" "06/20/2018" "depot_tools 79d42dfb" "Chromium depot_tools Manual"
10
+ .TH "GIT\-UPSTREAM\-DIFF" "1" "05/03/2019" "depot_tools e58cce6c" "Chromium depot_tools Manual"
11
11
  .\" -----------------------------------------------------------------
12
12
  .\" * Define some portability stuff
13
13
  .\" -----------------------------------------------------------------
@@ -86,17 +86,11 @@ $ # etc\&.
86
86
  \-\-wordwise
87
87
  .RS 4
88
88
  Print a colorized word\-wise diff instead of a line\-wise diff\&.
89
- .sp
90
- .if n \{\
91
- .RS 4
92
- .\}
93
- .nf
94
- Show a diff between the specified branch and its upstream, instead of using
95
- the current branch\&.
96
- .fi
97
- .if n \{\
98
89
  .RE
99
- .\}
90
+ .PP
91
+ \-\-branch branch
92
+ .RS 4
93
+ Show a diff between the specified branch and its upstream, instead of using the current branch\&.
100
94
  .RE
101
95
  .PP
102
96
  <extra args for git\-diff>
@@ -1,13 +1,13 @@
1
1
  '\" t
2
2
  .\" Title: depot_tools
3
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: 02/27/2017
4
+ .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5
+ .\" Date: 05/03/2019
6
6
  .\" Manual: Chromium depot_tools Manual
7
- .\" Source: depot_tools a6ba28f5
7
+ .\" Source: depot_tools e58cce6c
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "DEPOT_TOOLS" "7" "02/27/2017" "depot_tools a6ba28f5" "Chromium depot_tools Manual"
10
+ .TH "DEPOT_TOOLS" "7" "05/03/2019" "depot_tools e58cce6c" "Chromium depot_tools Manual"
11
11
  .\" -----------------------------------------------------------------
12
12
  .\" * Define some portability stuff
13
13
  .\" -----------------------------------------------------------------
@@ -1,13 +1,13 @@
1
1
  '\" t
2
2
  .\" Title: depot_tools_tutorial
3
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: 12/15/2016
4
+ .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5
+ .\" Date: 05/03/2019
6
6
  .\" Manual: Chromium depot_tools Manual
7
- .\" Source: depot_tools f72f1ad
7
+ .\" Source: depot_tools e58cce6c
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "DEPOT_TOOLS_TUTORIAL" "7" "12/15/2016" "depot_tools f72f1ad" "Chromium depot_tools Manual"
10
+ .TH "DEPOT_TOOLS_TUTORIAL" "7" "05/03/2019" "depot_tools e58cce6c" "Chromium depot_tools Manual"
11
11
  .\" -----------------------------------------------------------------
12
12
  .\" * Define some portability stuff
13
13
  .\" -----------------------------------------------------------------
@@ -222,13 +222,13 @@ Clone the \fIdepot_tools\fR repository:
222
222
  .\}
223
223
  .sp
224
224
  .sp
225
- Add \fIdepot_tools\fR to the \fIfront\fR of your PATH (you will probably want to put this in your ~/\&.bashrc or ~/\&.zshrc)\&. Assuming you cloned \fIdepot_tools\fR to /path/to/depot_tools:
225
+ Add \fIdepot_tools\fR to the \fIend\fR of your PATH (you will probably want to put this in your ~/\&.bashrc or ~/\&.zshrc)\&. Assuming you cloned \fIdepot_tools\fR to /path/to/depot_tools:
226
226
  .sp
227
227
  .if n \{\
228
228
  .RS 4
229
229
  .\}
230
230
  .nf
231
- \fB$ export PATH=/path/to/depot_tools:$PATH\fR
231
+ \fB$ export PATH=$PATH:/path/to/depot_tools\fR
232
232
  .fi
233
233
  .if n \{\
234
234
  .RE
@@ -582,11 +582,11 @@ It was a Domo\-Kuun\&.
582
582
  * \fB2250f53 \fR 2014\-04\-10 ~ ozone: evdev: Filter devices by path
583
583
  * \fB33a7a74 \fR 2014\-04\-10 ~ Always output seccomp error messages to stderr
584
584
  \fB$ git status\fR
585
- # On branch fix_typo
586
- # Your branch is ahead of \*(Aqorigin/master\*(Aq by 1 commit\&.
587
- # (use "git push" to publish your local commits)
588
- #
589
- nothing to commit, working directory clean
585
+ On branch fix_typo
586
+ Your branch is ahead of \*(Aqorigin/master\*(Aq by 1 commit\&.
587
+ (use "git push" to publish your local commits)
588
+
589
+ nothing to commit, working tree clean
590
590
  \fB$ git cl upload \-r domo@chromium\&.org \-\-send\-mail\fR
591
591
  \&.\&.\&. truncated output \&.\&.\&.
592
592
  .fi
@@ -612,15 +612,15 @@ overhead, barely disturbing the thick cigarette smoke\&. No doubt was left about
612
612
  when the fan was last cleaned\&.
613
613
  EOF
614
614
  \fB$ git status\fR
615
- # On branch chap2
616
- # Your branch is up\-to\-date with \*(Aqorigin/master\*(Aq\&.
617
- #
618
- # Changes not staged for commit:
619
- # (use "git add <file>\&.\&.\&." to update what will be committed)
620
- # (use "git checkout \-\- <file>\&.\&.\&." to discard changes in working directory)
621
- #
622
- # modified: build/whitespace_file\&.txt
623
- #
615
+ On branch chap2
616
+ Your branch is up to date with \*(Aqorigin/master\*(Aq\&.
617
+
618
+ Changes not staged for commit:
619
+ (use "git add <file>\&.\&.\&." to update what will be committed)
620
+ (use "git restore <file>\&.\&.\&." to discard changes in working directory)
621
+
622
+ modified: build/whitespace_file\&.txt
623
+
624
624
  no changes added to commit (use "git add" and/or "git commit \-a")
625
625
  .fi
626
626
  .if n \{\
@@ -701,20 +701,26 @@ origin/master
701
701
  chap2
702
702
  \fB fix_typo *
703
703
  $ git nav\-upstream\fR
704
- Note: checking out \*(Aqorigin/master\*(Aq\&.
704
+ Note: switching to \*(Aqorigin/master\*(Aq\&.
705
705
 
706
706
  You are in \*(Aqdetached HEAD\*(Aq state\&. You can look around, make experimental
707
707
  changes and commit them, and you can discard any commits you make in this
708
- state without impacting any branches by performing another checkout\&.
708
+ state without impacting any branches by switching back to a branch\&.
709
709
 
710
710
  If you want to create a new branch to retain commits you create, you may
711
- do so (now or later) by using \-b with the checkout command again\&. Example:
711
+ do so (now or later) by using \-c with the switch command\&. Example:
712
+
713
+ git switch \-c <new\-branch\-name>
714
+
715
+ Or undo this operation with:
716
+
717
+ git switch \-
712
718
 
713
- git checkout \-b <new\-branch\-name>
719
+ Turn off this advice by setting config variable advice\&.detachedHead to false
714
720
 
715
- HEAD is now at beec6f4\&.\&.\&. Make ReflectorImpl use mailboxes
721
+ HEAD is now at beec6f4 Make ReflectorImpl use mailboxes
716
722
  \fB$ git nav\-downstream\fR
717
- Previous HEAD position was beec6f4\&.\&.\&. Make ReflectorImpl use mailboxes
723
+ Previous HEAD position was beec6f4 Make ReflectorImpl use mailboxes
718
724
  Switched to branch \*(Aqchap2\*(Aq
719
725
  Your branch is ahead of \*(Aqorigin/master\*(Aq by 1 commit\&.
720
726
  (use "git push" to publish your local commits)
@@ -909,7 +915,7 @@ Rebasing: chap2
909
915
  There was an poignant pause\&.
910
916
 
911
917
  CHAPTER 3:
912
- ++<<<<<<< 59cdb7335b1c3a159ecc22214441cbe2194de25c
918
+ ++<<<<<<< HEAD
913
919
  +Hilariousness! This chapter is awesome!
914
920
  ++=======
915
921
  + Mr\&. Usagi felt that something wasn\*(Aqt right\&. Shortly after the Domo\-Kun left he
@@ -3,6 +3,8 @@
3
3
  # Use of this source code is governed by a BSD-style license that can be
4
4
  # found in the LICENSE file.
5
5
 
6
+ from __future__ import print_function
7
+
6
8
  import collections
7
9
  import os
8
10
  import re
@@ -13,7 +15,7 @@ from xml.sax.saxutils import escape
13
15
  from cStringIO import StringIO
14
16
 
15
17
  if not os.path.exists('ansi2html'):
16
- print 'You must run ./make_docs.sh once before running this script.'
18
+ print('You must run ./make_docs.sh once before running this script.')
17
19
  sys.exit(1)
18
20
 
19
21
  # This dependency is pulled in by make_docs.sh
@@ -70,6 +70,10 @@ Restoration::
70
70
  OPTIONS
71
71
  -------
72
72
 
73
+ -k::
74
+ --keep-going::
75
+ Keep processing past failed rebases.
76
+
73
77
  -n::
74
78
  --no-fetch::
75
79
  Skip the `git fetch` phase of rebase-update.
@@ -78,6 +82,9 @@ OPTIONS
78
82
  --verbose::
79
83
  More text than your terminal can handle.
80
84
 
85
+ --current::
86
+ Only rebase the current branch.
87
+
81
88
 
82
89
  CONFIGURATION VARIABLES
83
90
  -----------------------
@@ -32,6 +32,8 @@ Example:
32
32
  # >
33
33
  # [VPYTHON:END]
34
34
 
35
+ from __future__ import print_function
36
+
35
37
  import collections
36
38
  import contextlib
37
39
  from datetime import datetime
@@ -566,8 +568,8 @@ class MyActivity(object):
566
568
  })
567
569
 
568
570
  def print_heading(self, heading):
569
- print
570
- print self.options.output_format_heading.format(heading=heading)
571
+ print()
572
+ print(self.options.output_format_heading.format(heading=heading))
571
573
 
572
574
  def match(self, author):
573
575
  if '@' in self.user:
@@ -654,8 +656,8 @@ class MyActivity(object):
654
656
  }
655
657
  if optional_values is not None:
656
658
  values.update(optional_values)
657
- print DefaultFormatter().format(output_format, **values).encode(
658
- sys.getdefaultencoding())
659
+ print(DefaultFormatter().format(output_format,
660
+ **values).encode(sys.getdefaultencoding()))
659
661
 
660
662
 
661
663
  def filter_issue(self, issue, should_filter_by_user=True):
@@ -802,25 +804,25 @@ class MyActivity(object):
802
804
  if changes_by_issue_uid[issue_uid] or not skip_empty_own:
803
805
  self.print_issue(issues[issue_uid])
804
806
  if changes_by_issue_uid[issue_uid]:
805
- print
807
+ print()
806
808
  for change in changes_by_issue_uid[issue_uid]:
807
- print ' ', # this prints one space due to comma, but no newline
809
+ print(' ', end='') # this prints no newline
808
810
  self.print_change(change)
809
- print
811
+ print()
810
812
 
811
813
  # Changes referencing others' issues.
812
814
  for issue_uid in ref_issues:
813
815
  assert changes_by_ref_issue_uid[issue_uid]
814
816
  self.print_issue(ref_issues[issue_uid])
815
817
  for change in changes_by_ref_issue_uid[issue_uid]:
816
- print '', # this prints one space due to comma, but no newline
818
+ print('', end=' ') # this prints one space due to comma, but no newline
817
819
  self.print_change(change)
818
820
 
819
821
  # Changes referencing no issues.
820
822
  if changes_without_issue:
821
- print self.options.output_format_no_url.format(title='Other changes')
823
+ print(self.options.output_format_no_url.format(title='Other changes'))
822
824
  for change in changes_without_issue:
823
- print '', # this prints one space due to comma, but no newline
825
+ print('', end=' ') # this prints one space due to comma, but no newline
824
826
  self.print_change(change)
825
827
 
826
828
  def print_activity(self):
@@ -855,7 +857,7 @@ class MyActivity(object):
855
857
  'changes': format_for_json_dump(self.changes),
856
858
  'issues': format_for_json_dump(self.issues)
857
859
  }
858
- print json.dumps(output, indent=2, cls=PythonObjectEncoder)
860
+ print(json.dumps(output, indent=2, cls=PythonObjectEncoder))
859
861
 
860
862
 
861
863
  def main():
@@ -8,6 +8,9 @@
8
8
  Example:
9
9
  - my_reviews.py -r me@chromium.org -Q for stats for last quarter.
10
10
  """
11
+
12
+ from __future__ import print_function
13
+
11
14
  import datetime
12
15
  import math
13
16
  import optparse
@@ -22,7 +25,7 @@ try:
22
25
  import dateutil.parser
23
26
  from dateutil.relativedelta import relativedelta
24
27
  except ImportError:
25
- print 'python-dateutil package required'
28
+ print('python-dateutil package required')
26
29
  exit(1)
27
30
 
28
31
 
@@ -214,13 +217,13 @@ def print_issue(issue, reviewer, stats):
214
217
  reviewed = ''
215
218
 
216
219
  # More information is available, print issue.keys() to see them.
217
- print '%7d %10s %3s %14s %-15s %s' % (
220
+ print('%7d %10s %3s %14s %-15s %s' % (
218
221
  issue['issue'],
219
222
  issue['created'][:10],
220
223
  reviewed,
221
224
  latency,
222
225
  issue['owner_email'],
223
- ', '.join(sorted(issue['reviewers'])))
226
+ ', '.join(sorted(issue['reviewers']))))
224
227
 
225
228
 
226
229
  def print_reviews(
@@ -232,8 +235,9 @@ def print_reviews(
232
235
  stats = Stats()
233
236
 
234
237
  # Column sizes need to match print_issue() output.
235
- print >> sys.stderr, (
236
- 'Issue Creation Did Latency Owner Reviewers')
238
+ print(
239
+ 'Issue Creation Did Latency Owner Reviewers',
240
+ file=sys.stderr)
237
241
 
238
242
  # See def search() in rietveld.py to see all the filters you can use.
239
243
  issues = []
@@ -253,39 +257,40 @@ def print_reviews(
253
257
  last_day = issues[-1]['created'][:10]
254
258
  stats.finalize(first_day, last_day)
255
259
 
256
- print >> sys.stderr, (
260
+ print(
257
261
  '%s reviewed %d issues out of %d (%1.1f%%). %d were self-review.' %
258
262
  (reviewer, stats.actually_reviewed, stats.total, stats.percent_done,
259
- stats.self_review))
260
- print >> sys.stderr, (
261
- '%4.1f review request/day during %3d days (%4.1f r/d done).' % (
262
- stats.review_per_day, stats.days, stats.review_done_per_day))
263
- print >> sys.stderr, (
264
- '%4d were drive-bys (%5.1f%% of reviews done).' % (
265
- stats.drive_by, stats.percent_drive_by))
266
- print >> sys.stderr, (
267
- '%4d were requested over IM or irc (%5.1f%% of reviews done).' % (
268
- stats.not_requested, stats.percent_not_requested))
269
- print >> sys.stderr, (
270
- ('%4d issues LGTM\'d (%5.1f%% of reviews done),'
271
- ' gave multiple LGTMs on %d issues.') % (
272
- stats.lgtms, stats.percent_lgtm, stats.multiple_lgtms))
273
- print >> sys.stderr, (
263
+ stats.self_review), file=sys.stderr)
264
+ print(
265
+ '%4.1f review request/day during %3d days (%4.1f r/d done).' %
266
+ (stats.review_per_day, stats.days, stats.review_done_per_day),
267
+ file=sys.stderr)
268
+ print(
269
+ '%4d were drive-bys (%5.1f%% of reviews done).' %
270
+ (stats.drive_by, stats.percent_drive_by), file=sys.stderr)
271
+ print(
272
+ '%4d were requested over IM or irc (%5.1f%% of reviews done).' %
273
+ (stats.not_requested, stats.percent_not_requested), file=sys.stderr)
274
+ print(
275
+ '%4d issues LGTM\'d (%5.1f%% of reviews done),'
276
+ ' gave multiple LGTMs on %d issues.' %
277
+ (stats.lgtms, stats.percent_lgtm, stats.multiple_lgtms), file=sys.stderr)
278
+ print(
274
279
  'Average latency from request to first comment is %s.' %
275
- to_time(stats.average_latency))
276
- print >> sys.stderr, (
280
+ to_time(stats.average_latency), file=sys.stderr)
281
+ print(
277
282
  'Median latency from request to first comment is %s.' %
278
- to_time(stats.median_latency))
283
+ to_time(stats.median_latency), file=sys.stderr)
279
284
 
280
285
 
281
286
  def print_count(
282
287
  reviewer, created_after, created_before, instance_url, auth_config):
283
288
  remote = rietveld.Rietveld(instance_url, auth_config)
284
- print len(list(remote.search(
289
+ print(len(list(remote.search(
285
290
  reviewer=reviewer,
286
291
  created_after=created_after,
287
292
  created_before=created_before,
288
- keys_only=True)))
293
+ keys_only=True))))
289
294
 
290
295
 
291
296
  def get_previous_quarter(today):
@@ -354,12 +359,12 @@ def main():
354
359
  if options.reviewer is None:
355
360
  parser.error('$EMAIL_ADDRESS and $USER are not set, please use -r')
356
361
 
357
- print >> sys.stderr, 'Searching for reviews by %s' % options.reviewer
362
+ print('Searching for reviews by %s' % options.reviewer, file=sys.stderr)
358
363
  if options.last_quarter:
359
364
  options.begin = begin
360
365
  options.end = end
361
- print >> sys.stderr, 'Using range %s to %s' % (
362
- options.begin, options.end)
366
+ print('Using range %s to %s' %
367
+ (options.begin, options.end), file=sys.stderr)
363
368
  else:
364
369
  if options.begin is None or options.end is None:
365
370
  parser.error('Please specify either --last_quarter or --begin and --end')