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
rmistry@google.com c68112d9cb Stop defaulting unrecognized branches to master except for handful of special refs.
Context:
In https://codereview.chromium.org/781523002/ I added the ability for target_ref to be set to any branch name. Eg: For Skia a ref of 'refs/remotes/origin/chrome/m42' would be correctly set to 'refs/heads/chrome/m42'.

But in https://codereview.chromium.org/822503005/ this was changed to treat any branch that did not start with 'refs/remotes/branch-heads' or 'refs/remotes/origin/refs' to be 'refs/remotes/origin/master'.
This makes it very chromium specific, there are plenty of other projects that use depot_tools that does not work like this.
For Skia 'refs/remotes/origin/chrome/m42' would now change to 'refs/remotes/origin/master' which is wrong.

The default behavior should be to preserve the original ref not to override it to master.

I handled 'lkgr' and 'lkcr' as special cases in this CL because many developers track it and would like it to land in master by default.

BUG=chromium:463109
NOPRESUBMIT=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294303 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
..
gstools
subversion_config
abandon.sh
basic.sh
breakpad_unittest.py
checkout_test.py
download_from_google_storage_unittests.py
fix_encoding_test.py
gcl_unittest.py
gclient_scm_test.py gclient: Add '--auto_rebase' sync option. 10 years ago
gclient_smoketest.py Reland "Make gclient ready for the Blink (DEPS to main project)" 10 years ago
gclient_test.py The original assertions trigger pylint unreachable warnings, and they are replaced by fail() calls. 10 years ago
gclient_utils_test.py
git_cl_test.py Stop defaulting unrecognized branches to master except for handful of special refs. 10 years ago
git_common_test.py
git_footers_test.py
git_number_test.py
git_rebase_update_test.py Added hyphen-only options 11 years ago
gsutil_test.py Hook sys.stdio directly to the gsutil subprocess for the gsutil call 10 years ago
hooks.sh
owners.sh
owners_finder_test.py
owners_unittest.py
patch.sh
patch_test.py
post-dcommit-hook-test.sh
presubmit_unittest.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
push-basic.sh
push-from-logs.sh
rename.sh
rietveld_test.py
sample_pre_commit_hook
save-description-on-failure.sh
scm_unittest.py Reland "Make gclient ready for the Blink (DEPS to main project)" 10 years ago
submit-from-new-dir.sh
submodule-merge-test.sh
subprocess2_test.py
test-lib.sh
trychange_unittest.py
upload-local-tracking-branch.sh
upload-stale.sh
upload_to_google_storage_unittests.py
upstream.sh
watchlists_unittest.py