You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/tests
Clemens Hammacher 19238fc343 Revert "Fix semantics of git new-branch --upstream"
This reverts commit ba83229a73.

Reason for revert: After mail discussion we came to the conclusion that the old behavior makes more sense.

Original change's description:
> Fix semantics of git new-branch --upstream
> 
> Currently, the "--upstream A" option for new-branch behaves totally
> different than "--upstream_current". While "--upstream A" checks out
> branch A and then creates a new branch which tracks A,
> "--upstream_current" creates a new branch for the current HEAD and sets
> the upstream to the previously checked out branch.
> 
> As the documentation does not mention that any of the options changes
> the currently-checked-out commit (HEAD), this CL changes the semantics
> of "git new-branch --upstream A B" to be identical to "git checkout -b B
> && git branch --set-upstream-to A".
> 
> It also slightly extends the documentation to mention that in any case
> the new branch is based on HEAD.
> 
> R=​iannucci@chromium.org
> 
> Change-Id: Ic335d2caf27cb6afca1b8bc5a008424c0e880fca
> Reviewed-on: https://chromium-review.googlesource.com/c/1350748
> Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
> Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
> Auto-Submit: Clemens Hammacher <clemensh@chromium.org>

TBR=iannucci@chromium.org,tandrii@chromium.org,clemensh@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I7463935af172f0801c7da94d2de106a02fc4c42e
Reviewed-on: https://chromium-review.googlesource.com/c/1362972
Reviewed-by: Sergiy Belozorov <sergiyb@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
6 years ago
..
gstools
auth_test.py
bot_update_coverage_test.py bot_update: Don't use apply_patch_on_gclient. 7 years ago
checkout_test.py
cipd_bootstrap_test.py [cipd] Add presubmit support for checking *.digests file. 7 years ago
download_from_google_storage_unittest.py
fix_encoding_test.py
gclient_eval_unittest.py gclient: Make built-in vars available for expansion. 6 years ago
gclient_scm_test.py gclient: set the push url to the actual repository instead of the mirror. 7 years ago
gclient_smoketest.py Reland "[gclient] Make getdep and setdep to provide builtin vars" 6 years ago
gclient_test.py gclient: add use_relative_hooks 7 years ago
gclient_utils_test.py
git_cache_test.py git_cache: Add tests for reset fetch config. 7 years ago
git_cl_creds_check_report.txt
git_cl_test.py git-cl: Set Code-Review label as a git push argument. 6 years ago
git_common_test.py
git_dates_test.py
git_drover_test.py
git_footers_test.py
git_hyper_blame_test.py git_hyper_blame_test: Fix pylint issue. 7 years ago
git_number_test.py
git_rebase_update_test.py Revert "Fix semantics of git new-branch --upstream" 6 years ago
gsutil_test.py
metrics_test.py git-cl: Add tests for metrics collection. 6 years ago
owners_finder_test.py
owners_unittest.py [owners.py] require stricter naming conventions for file: includes 7 years ago
patch_test.py
presubmit_unittest.py presubmit: Remove EnsureCQIncludeTrybotsAreAdded 6 years ago
recipes_test.py
roll_dep_test.py roll-dep: Use gclient setdep/getdep. 6 years ago
scm_unittest.py Reland "Reland "gclient_scm: Use cherry-picking instead of rebasing."" 7 years ago
subprocess2_test.py
upload_to_google_storage_unittest.py
watchlists_unittest.py