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
tandrii@chromium.org e044c81799 git cl: Rework Changelist class for Rietveld/Gerrit use.
This adds pluggable codereview-specific implementations into
Changelist class. The specific implementation is chosen at
Changelist automatically, with Rietveld being default for
backwards compatibility.

Gerrit implementation for Gerrit is incomplete, and will be
added in later CLs. However, it is sufficient to ensure
current functionality of this tool is not diminished.

Sadly, the base class isn't completely free from Rietveld
assumptions because of presubmit_support. Apparently, PRESUBMIT 
scripts can make use of Rietveld instance for RPCs directly.
This use doesn't make sense for Gerrit, which substitutes
rietveld instance with a dummy object, which raises exception
on any attribute access with a diagnostic message.

This also includes refactoring of some related code which
(ab)used ChangeList. Overall, this CL adds a few extra call to
git config in order to determine which codereview to use, but
but it shouldn't have any performance impact.


BUG=579160

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299462 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
..
gstools
subversion_config
abandon.sh
basic.sh Make 'git cl status' report the current branch even if there's no active CL. 11 years ago
checkout_test.py
download_from_google_storage_unittests.py Reland 0c7d94eb9d9fa388bda0d74405c0928dceea22ff: Add support for tar.gz archive files to download from download_from_google_storage 11 years ago
fix_encoding_test.py
gclient_scm_test.py
gclient_smoketest.py Revert of git_cl/gclient: use python2 (patchset #3 id:40001 of https://codereview.chromium.org/1437773002/ ) 10 years ago
gclient_test.py
gclient_utils_test.py
git_cache_test.py Allow 'git cache fetch' to re-bootstrap. 10 years ago
git_cl_test.py git cl: Rework Changelist class for Rietveld/Gerrit use. 10 years ago
git_common_test.py git hyper-blame: Added approx. line number translation. 10 years ago
git_dates_test.py Added git hyper-blame, a tool that skips unwanted commits in git blame. 10 years ago
git_drover_test.py Support merging with conflicts with git-drover. 10 years ago
git_footers_test.py Gerrit git cl: fix change-id appending. 10 years ago
git_hyper_blame_test.py git hyper-blame: Added automatically ignoring revs from a file. 10 years ago
git_number_test.py
git_rebase_update_test.py Add better error messages to git_reparent_branch. 10 years ago
gsutil_test.py gsutil: Parallel-safe, specify target, add clean. 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 Remove build/c++11 from the set of linter rules ever used. 10 years ago
push-basic.sh Make 'git cl status' report the current branch even if there's no active CL. 11 years ago
push-from-logs.sh
recipes_test.py Manual roll of engine, removing coverage threshold! 10 years ago
rename.sh
rietveld_test.py Raise exceptions properly on HTTP errors from OAuthRpcServer (which is only used on bots) 10 years ago
sample_pre_commit_hook
save-description-on-failure.sh
scm_unittest.py
submit-from-new-dir.sh
submodule-merge-test.sh
subprocess2_test.py
test-lib.sh
trychange_unittest.py Finally get rid of depot_tools' breakpad. 10 years ago
upload-local-tracking-branch.sh
upload-stale.sh
upload_to_google_storage_unittests.py Reland 0c7d94eb9d9fa388bda0d74405c0928dceea22ff: Add support for tar.gz archive files to download from download_from_google_storage 11 years ago
upstream.sh
watchlists_unittest.py