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
Andrii Shyshkalov 351c61da20 Fix git cl on windows for git-numberer repos.
Git cl decides if git-numberer is enabled on a repository by writing
Gerrit's project.config from refs/meta/config into a tempfile, which is
then queried using `git config -f tempfile --get ...`.  The file itself
is only flushed, but not closed after writing because Python's
tempfile.NamedTemporaryFile is deleted on closing. This worked fine on
Linix/Mac, but not on Windows, where `git config` apparently doesn't see
file or its contents.

This CL rewrites the above using yet another contexmanager temp
directory into which a file is written and closed before git config is
ran.

R=machenbach@chromium.org,grt@chromium.org
BUG=683202

Change-Id: I7974d66b1b2b0478ab4b6f7ac04e547a4981c46c
Reviewed-on: https://chromium-review.googlesource.com/430719
Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
9 years ago
..
gstools
subversion_config
abandon.sh Remove SVN (and dcommit) support from git-cl 9 years ago
basic.sh Remove SVN (and dcommit) support from git-cl 9 years ago
bot_update_coverage_test.py depot_tools: Replace pylint error numbers with symbolic names. 9 years ago
checkout_test.py depot_tools: Replace pylint error numbers with symbolic names. 9 years ago
download_from_google_storage_unittests.py depot_tools: Replace pylint error numbers with symbolic names. 9 years ago
fix_encoding_test.py
gclient_scm_test.py Fix depot_tools test for git 2.11 9 years ago
gclient_smoketest.py Remove gclient cleanup command 9 years ago
gclient_test.py depot_tools: Replace pylint error numbers with symbolic names. 9 years ago
gclient_utils_test.py depot_tools: Replace pylint error numbers with symbolic names. 9 years ago
git_cache_test.py
git_cl_test.py Fix git cl on windows for git-numberer repos. 9 years ago
git_common_test.py depot_tools: Replace pylint error numbers with symbolic names. 9 years ago
git_dates_test.py
git_drover_test.py drover win: Use --stdin so update-index doesn't fail on long cmdline 9 years ago
git_footers_test.py Remove svn support from smaller git extensions 9 years ago
git_hyper_blame_test.py Simplify octal constants in Python code (e.g. 0o0700 -> 0o700). 9 years ago
git_number_test.py
git_rebase_update_test.py
gsutil_test.py
hooks.sh Remove SVN (and dcommit) support from git-cl 9 years ago
owners.sh Remove SVN (and dcommit) support from git-cl 9 years ago
owners_finder_test.py Fix per-file owners check for deleted files. 9 years ago
owners_unittest.py Fix per-file owners check for deleted files. 9 years ago
patch.sh Remove SVN (and dcommit) support from git-cl 9 years ago
patch_test.py
post-land-hook-test.sh Remove SVN (and dcommit) support from git-cl 9 years ago
presubmit_unittest.py Output missing LGTMs notification also on dry-run 9 years ago
push-from-logs.sh Remove SVN (and dcommit) support from git-cl 9 years ago
recipes_test.py
rietveld_test.py depot_tools: Replace pylint error numbers with symbolic names. 9 years ago
sample_pre_commit_hook
save-description-on-failure.sh Remove SVN (and dcommit) support from git-cl 9 years ago
scm_unittest.py Remove git-svn support from scm.py 9 years ago
submit-from-new-dir.sh Remove SVN (and dcommit) support from git-cl 9 years ago
subprocess2_test.py depot_tools: Replace pylint error numbers with symbolic names. 9 years ago
test-lib.sh Remove SVN (and dcommit) support from git-cl 9 years ago
upload-local-tracking-branch.sh Remove SVN (and dcommit) support from git-cl 9 years ago
upload-stale.sh Remove SVN (and dcommit) support from git-cl 9 years ago
upload_to_google_storage_unittests.py depot_tools: Replace pylint error numbers with symbolic names. 9 years ago
watchlists_unittest.py depot_tools: Replace pylint error numbers with symbolic names. 9 years ago