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
Joanna Wang f3edc50445 [no-sync] Store previous sync commit in memory.
- Instead of expecting the caller to run `rev-parse HEAD` before
  calling gclient, we can just store the latest commit on disk
  - this gets around the problem where gclient might git reset to the
     base checkout after applying patch-refs, so calling rev-parse
     before calling gclient sync might not actually return the latest
     commit of the last sync.
- also moving os.environ[PREVIOUS_CUSTOM_VARS] setting to earlier when
  we only have the solutions in self.dependencies because all other
  dependencies inherit from the solutions so there's no point storing
  custom_vars for the rest.

Bug: 1339472
Change-Id: I6a3570f09153bd8087bbe6bdab7ece4949856aae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3750491
Reviewed-by: Gavin Mak <gavinmak@google.com>
Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
Commit-Queue: Joanna Wang <jojwang@chromium.org>
3 years ago
..
gstools
OWNERS
PRESUBMIT.py
auth_test.py
autoninja_test.py
bot_update_coverage_test.py
cipd_bootstrap_test.py
detect_host_arch_test.py
download_from_google_storage_unittest.py
fetch_test.py Reland "Update fetch protocol using --protocol-override flag" 3 years ago
fix_encoding_test.py
gclient_cipd_smoketest.py
gclient_eval_unittest.py
gclient_git_mutates_smoketest.py
gclient_git_smoketest.py
gclient_paths_test.py
gclient_scm_test.py [no-sync] Add method to check for diffs between the current checkout and another commit. 3 years ago
gclient_smoketest.py
gclient_smoketest_base.py
gclient_test.py [no-sync] Store previous sync commit in memory. 3 years ago
gclient_transitions_smoketest.py
gclient_utils_test.py
gerrit_client_test.py
gerrit_util_test.py
git_cache_test.py
git_cl_creds_check_report.txt
git_cl_test.py [git-cl] If set, use `options.title` for initial uploads. 3 years ago
git_common_test.py
git_dates_test.py
git_find_releases_test.py
git_footers_test.py
git_hyper_blame_test.py
git_map_test.py Use main branch as the default branch 4 years ago
git_migrate_default_branch_test.py
git_number_test.py depot_tools: Run auth, cipd_bootstrap, git_number tests on python3. 6 years ago
git_rebase_update_test.py Remove 'Fetching' check in testTrackTag 3 years ago
gsutil_test.py
lockfile_test.py
metrics_test.py
my_activity_test.py
ninjalog_uploader_test.py
owners_client_test.py
owners_finder_test.py
owners_unittest.py
presubmit_unittest.py Add number of presubmit errors/warnings in header 3 years ago
rdb_wrapper_test.py
recipes_test.py
roll_dep_test.py
scm_unittest.py Refresh remote HEAD if matches legacy default 4 years ago
split_cl_test.py
subcommand_test.py Move subcommand_test to py3 5 years ago
subprocess2_test.py Use pylint 2.7 for depot_tools 3 years ago
upload_to_google_storage_unittest.py
utils_test.py
watchlists_unittest.py