Make --target_branch override AutoDetectBranch

AutoDetectBranch was added to support the fact that cobalt
is normally not submitting CLs to master, which was the git
cl upload default.
Unfortunately, AutoDetectBranch does not work as expected when
working with dependent cls (git new-branch --upstream_current).
This change allows a developer to use dependent cls, and specify
--target_branch=COBALT to ensure that they are uploaded to the correct
branch.

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