Revert of [depot_tools] Find, upload and apply patchset dependencies (patchset #17 id:360001 of https://codereview.chromium.org/1149653002/)

Reason for revert:
Ran into a crash during the bot_update step here:
https://uberchromegw.corp.google.com/i/internal.infra.try/builders/infra-internal-presubmit/builds/62

Original issue's description:
> Find, upload and apply patchset dependencies.
> 
> Here is an explanation of the changes in each module:
> 
> * git_cl.py -
> IF a local branch is being tracked AND a CL has been uploaded there THEN use the CL's issue number and latest patchset as a dependency.
> 
> * upload.py -
> Uploads the patchset dependency, if it exists, to Rietveld (Rietveld will be able to parse this when https://codereview.chromium.org/1155513002/ lands).
> 
> * rietveld.py -
> Adds utility methods to get patchset dependencies from the new Rietveld endpoint (the endpoint will exist when https://codereview.chromium.org/1155513002/ lands).
> 
> * apply_issue.py -
> If CL3 depends on CL2 which in turn depends on CL1 then apply_issue will gather a list of all issues and patchsets to apply (Eg: [CL1:PS1, CL2:PS1, CL3:PS2]).
> apply_issue will then loop over the list applying each dependency.
> Note: The apply_issue.py diff looks much worse than it is. Please see my comment in
> https://codereview.chromium.org/1149653002/diff/260001/apply_issue.py#oldcode169
> 
> 
> Tested end-to-end using a test Git repository (https://skia.googlesource.com/skiabot-test/) and the following CLs created in my test Rietveld instance:
> * https://skia-codereview-staging.appspot.com/931002  ('Branch1 CL')
> * https://skia-codereview-staging.appspot.com/5001001 ('Branch2 CL')
> * https://skia-codereview-staging.appspot.com/9881001 ('Branch3 CL')
> * https://skia-codereview-staging.appspot.com/3951001 ('Branch3.1 CL')
> Opt into the new UI and observe the new 'Depends on Patchset' and 'Dependent Patchsets' sections in the above CLs.
> 
> 
> Design doc is here: https://docs.google.com/document/d/1KZGFKZpOPvco81sYVRCzwlnjGctup71RAzY0MSb0ntc/edit#heading=h.6r6lt4tsvssw
> 
> BUG=502255
> 
> Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=295778

TBR=agable@chromium.org,jrobbins@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=502255

Review URL: https://codereview.chromium.org/1200773003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295782 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed
tree: 63b0d8c996194e5f109ae0bb2b486b7fef25a5d1
  1. bootstrap/
  2. git-templates/
  3. git_utils/
  4. infra/
  5. man/
  6. recipes/
  7. support/
  8. testing_support/
  9. tests/
  10. third_party/
  11. win_toolchain/
  12. zsh-goodies/
  13. .gitignore
  14. .style.yapf
  15. annotated_gclient.py
  16. apply_issue
  17. apply_issue.bat
  18. apply_issue.py
  19. auth.py
  20. breakpad.py
  21. buildbucket.py
  22. checkout.py
  23. chrome-update-create-task.bat
  24. chrome-update.bat
  25. chrome-update.py
  26. clang-format
  27. clang-format.bat
  28. clang_format.py
  29. codereview.settings
  30. commit_queue
  31. commit_queue.bat
  32. commit_queue.py
  33. cpplint.bat
  34. cpplint.py
  35. cpplint_chromium.py
  36. create-chromium-git-src
  37. create-ntfs-junction.c
  38. create-ntfs-junction.exe
  39. dart_format.py
  40. depot-tools-auth
  41. depot-tools-auth.bat
  42. depot-tools-auth.py
  43. download_from_google_storage
  44. download_from_google_storage.bat
  45. download_from_google_storage.py
  46. drover
  47. drover.bat
  48. drover.py
  49. fetch
  50. fetch.bat
  51. fetch.py
  52. fix_encoding.py
  53. gcl
  54. gcl.bat
  55. gcl.py
  56. gclient
  57. gclient-new-workdir.py
  58. gclient.bat
  59. gclient.py
  60. gclient_completion.sh
  61. gclient_scm.py
  62. gclient_utils.py
  63. gerrit_util.py
  64. git-auto-svn
  65. git-cache
  66. git-cherry-pick-upload
  67. git-cl
  68. git-cl-upload-hook
  69. git-crrev-parse
  70. git-crsync
  71. git-crup
  72. git-footers
  73. git-freeze
  74. git-gs
  75. git-lkgr
  76. git-map
  77. git-map-branches
  78. git-mark-merge-base
  79. git-nav-downstream
  80. git-nav-upstream
  81. git-new-branch
  82. git-number
  83. git-rebase-update
  84. git-rename-branch
  85. git-reparent-branch
  86. git-retry
  87. git-runhooks
  88. git-squash-branch
  89. git-thaw
  90. git-try
  91. git-upstream-diff
  92. git_auto_svn.py
  93. git_cache.py
  94. git_cherry_pick_upload.py
  95. git_cl.py
  96. git_common.py
  97. git_footers.py
  98. git_freezer.py
  99. git_map.py
  100. git_map_branches.py
  101. git_mark_merge_base.py
  102. git_nav_downstream.py
  103. git_new_branch.py
  104. git_number.py
  105. git_rebase_update.py
  106. git_rename_branch.py
  107. git_reparent_branch.py
  108. git_retry.py
  109. git_squash_branch.py
  110. git_try.py
  111. git_upstream_diff.py
  112. gn
  113. gn.bat
  114. gn.py
  115. gsutil.py
  116. hammer
  117. hammer.bat
  118. LICENSE
  119. my_activity.py
  120. my_reviews.py
  121. ninja
  122. ninja-linux32
  123. ninja-linux64
  124. ninja-mac
  125. ninja.exe
  126. OWNERS
  127. owners.py
  128. owners_finder.py
  129. patch.py
  130. PRESUBMIT.py
  131. presubmit_canned_checks.py
  132. presubmit_support.py
  133. profile.xml
  134. pylint
  135. pylint.py
  136. pylintrc
  137. python_git_runner.sh
  138. README
  139. README.codereview
  140. README.gclient
  141. README.git-cl
  142. README.testing
  143. repo
  144. rietveld.py
  145. roll-dep
  146. roll-dep-svn
  147. roll-dep-svn.bat
  148. roll-dep.bat
  149. roll_dep.py
  150. roll_dep_svn.py
  151. scm.py
  152. subcommand.py
  153. subprocess2.py
  154. trychange.py
  155. update_depot_tools
  156. update_depot_tools.bat
  157. upload_to_google_storage.py
  158. WATCHLISTS
  159. watchlists.py
  160. weekly
  161. wtf