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 Scripts to download files from google storage based on sha1 sums 12 years ago
subversion_config
abandon.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
basic.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
breakpad_unittest.py Make sure that direct call to SendStack() doesn't send a stack trace for non googler 13 years ago
checkout_test.py Fix test failures on Ubuntu/Trusty. 10 years ago
download_from_google_storage_unittests.py Adds --auto_platform to download_from_google_storage. 11 years ago
fix_encoding_test.py
gcl_unittest.py Add the patchset id to the manual commit messages 11 years ago
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 Make it possible to refer to github-style URLs. 11 years ago
git_cl_test.py Stop defaulting unrecognized branches to master except for handful of special refs. 10 years ago
git_common_test.py Speculative fix for build on windows build bots. 10 years ago
git_footers_test.py Added git footers tool to parse conventional metadata from git commits 11 years ago
git_number_test.py Add a family of git-commands to assist with the management of multiple CLs/branches. 11 years ago
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 Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
owners.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
owners_finder_test.py An interactive tool to help find owners covering current change list. 12 years ago
owners_unittest.py Add a way to require approval from owners other than the author. 12 years ago
patch.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
patch_test.py Fix applying svn:executable on Windows. 13 years ago
post-dcommit-hook-test.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
presubmit_unittest.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
push-basic.sh Removed git cl push command 11 years ago
push-from-logs.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
rename.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
rietveld_test.py Incorrect SSLError attribute. 11 years ago
sample_pre_commit_hook
save-description-on-failure.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
scm_unittest.py Reland "Make gclient ready for the Blink (DEPS to main project)" 10 years ago
submit-from-new-dir.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
submodule-merge-test.sh Fix test failures on Ubuntu/Trusty. 10 years ago
subprocess2_test.py Fix many (but not all[1]) depot_tools tests on Windows. 12 years ago
test-lib.sh Fix test failures on Ubuntu/Trusty. 10 years ago
trychange_unittest.py trychange.py: Gerrit protocol 11 years ago
upload-local-tracking-branch.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
upload-stale.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
upload_to_google_storage_unittests.py Add no_auth flag to skip auth checking for buckets that don't require it. Also fix tests 11 years ago
upstream.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
watchlists_unittest.py