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
maruel@chromium.org 1a60dca731 Fix unpinned version to track upstream.
This is a serious bug, if a version is unpinned, it would become stuck at
whatever a local branch 'master' may point to. This is extremely bad when a
pinned dependency is unpinned on purpose, for example on a canary master. We
reproduced this problem on the chromium.swarm master by setting a custom_vars
swarming_revision to '', which then stopped syncing at the expected
origin/master commit but instead got stuck to what happened to be a local master
branch.

This happens on git dependencies if the main solution is using svn. This doesn't
happen on git checkouts using .DEPS.git due to bug 323233.

The issue looks like:
________ running 'git reset --hard HEAD' in '/path/src/tools/swarming_client'
HEAD is now at 4727bd5 Some commit
Checked out revision d908a546e28d1e9f85f5690cf6c3a080f06ba711

Note that HEAD and what is checked out do not match.

Also reduce the hardcoding of 'origin' by creating a variable named 'remote'.

R=petermayo@chromium.org
BUG=322961

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@237332 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
..
gstools Scripts to download files from google storage based on sha1 sums 12 years ago
subversion_config Move commit-queue/checkout into depot_tools so it can be reused by the try server. 14 years ago
abandon.sh Fix depot_tools tests external dependency 12 years ago
basic.sh Fix depot_tools tests external dependency 12 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 Return unicode commit hashes in checkout.GitCheckout. 12 years ago
download_from_google_storage_unittests.py Silence common noisiness in download_from_google_storage 12 years ago
fix_encoding_test.py Standardize the sys.path fix up and fix a few pylint warnings. 14 years ago
gcl_unittest.py Update the R= line with the actual list of reviewers that approved the CL. 12 years ago
gclient_scm_test.py Fix unpinned version to track upstream. 12 years ago
gclient_smoketest.py Add support in gclient for pre-DEPS hooks 12 years ago
gclient_test.py Revert "Revert "Improve description layout. Improve coloring and add legend in help."" 12 years ago
gclient_utils_test.py Consolidate subprocess retry logic into gclient_utils. 12 years ago
git_cl_test.py Ignore CC_LIST when private flag is specified. 12 years ago
git_common_test.py Add git-number script to calculate generation numbers for commits. 12 years ago
git_number_test.py Add git-number script to calculate generation numbers for commits. 12 years ago
hooks.sh Add test for git-svn with submodule/merge layout. 13 years ago
owners.sh Fix depot_tools tests external dependency 12 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 Fix depot_tools tests external dependency 12 years ago
patch_test.py Fix applying svn:executable on Windows. 13 years ago
post-dcommit-hook-test.sh Add test for git-svn with submodule/merge layout. 13 years ago
presubmit_unittest.py Change the "Missing OWNERS" presubmit check to only suggest owners for missing files. 12 years ago
push-basic.sh Fix depot_tools tests external dependency 12 years ago
push-from-logs.sh Fix depot_tools tests external dependency 12 years ago
rename.sh Make git-cl more accurately imitate git's editor selection process, and respect $VISUAL. 12 years ago
rietveld_test.py Have Rietveld.get_description() consistently strip CR and whitespace. 12 years ago
sample_pre_commit_hook Move commit-queue/checkout into depot_tools so it can be reused by the try server. 14 years ago
save-description-on-failure.sh Make git-cl more accurately imitate git's editor selection process, and respect $VISUAL. 12 years ago
scm_unittest.py Removes DiffItem, which was unused, and moves _DiffItemInternal below GenerateDiff, now its lone caller. 12 years ago
submit-from-new-dir.sh Make git-cl more accurately imitate git's editor selection process, and respect $VISUAL. 12 years ago
submodule-merge-test.sh Add test for git-svn with submodule/merge layout. 13 years ago
subprocess2_test.py Fix many (but not all[1]) depot_tools tests on Windows. 12 years ago
test-lib.sh Fix upstream.sh presubmit test for git 1.8.3+ 12 years ago
trychange_unittest.py Rework bot and test parsing to allow receipt of (bot, set(test)) specifications. 12 years ago
upload-local-tracking-branch.sh Make git-cl more accurately imitate git's editor selection process, and respect $VISUAL. 12 years ago
upload-stale.sh Fix depot_tools tests external dependency 12 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 12 years ago
upstream.sh Fix upstream.sh presubmit test for git 1.8.3+ 12 years ago
watchlists_unittest.py Create a new testing_support module to move utility modules there 14 years ago