• tandrii@chromium.org's avatar
    Revert of git cl: Rework Changelist class for Rietveld/Gerrit use. (patchset... · 87985d2a
    tandrii@chromium.org authored
    Revert of git cl: Rework Changelist class for Rietveld/Gerrit use. (patchset #8 id:380001 of https://codereview.chromium.org/1805193002/ )
    
    Reason for revert:
    Broke one project presubmit.
    
    Original issue's description:
    > 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
    > 
    > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299462
    
    TBR=phajdan.jr@chromium.org,andybons@chromium.org,machenbach@chromium.org,sergiyb@chromium.org
    # Skipping CQ checks because original CL landed less than 1 days ago.
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    BUG=579160,597638
    
    Review URL: https://codereview.chromium.org/1831813003
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299476 0039d316-1c4b-4281-b951-d872f2087c98
    87985d2a
Name
Last commit
Last update
..
gstools Loading commit data...
subversion_config Loading commit data...
abandon.sh Loading commit data...
basic.sh Loading commit data...
checkout_test.py Loading commit data...
download_from_google_storage_unittests.py Loading commit data...
fix_encoding_test.py Loading commit data...
gclient_scm_test.py Loading commit data...
gclient_smoketest.py Loading commit data...
gclient_test.py Loading commit data...
gclient_utils_test.py Loading commit data...
git_cache_test.py Loading commit data...
git_cl_test.py Loading commit data...
git_common_test.py Loading commit data...
git_dates_test.py Loading commit data...
git_drover_test.py Loading commit data...
git_footers_test.py Loading commit data...
git_hyper_blame_test.py Loading commit data...
git_number_test.py Loading commit data...
git_rebase_update_test.py Loading commit data...
gsutil_test.py Loading commit data...
hooks.sh Loading commit data...
owners.sh Loading commit data...
owners_finder_test.py Loading commit data...
owners_unittest.py Loading commit data...
patch.sh Loading commit data...
patch_test.py Loading commit data...
post-dcommit-hook-test.sh Loading commit data...
presubmit_unittest.py Loading commit data...
push-basic.sh Loading commit data...
push-from-logs.sh Loading commit data...
recipes_test.py Loading commit data...
rename.sh Loading commit data...
rietveld_test.py Loading commit data...
sample_pre_commit_hook Loading commit data...
save-description-on-failure.sh Loading commit data...
scm_unittest.py Loading commit data...
submit-from-new-dir.sh Loading commit data...
submodule-merge-test.sh Loading commit data...
subprocess2_test.py Loading commit data...
test-lib.sh Loading commit data...
trychange_unittest.py Loading commit data...
upload-local-tracking-branch.sh Loading commit data...
upload-stale.sh Loading commit data...
upload_to_google_storage_unittests.py Loading commit data...
upstream.sh Loading commit data...
watchlists_unittest.py Loading commit data...