• chase@chromium.org's avatar
    Avoid losing CL description during Rietveld outage. · ea452b3f
    chase@chromium.org authored
    Save the CL locally prior to attempting to submit
    to Rietveld.  The CL is saved locally with a dirty-bit
    before the upload is attempted.  If successful, the CL
    is saved locally again with a clean-bit.
    
    On loading a dirty CL for editing, we only load the
    CL description from Rietveld if the local CL is clean
    (there are no pending changes to upload).  Clean CLs
    continue to retrieve updated descriptions directly
    from Rietveld.
    
    BUG=none
    TEST=gcl change <name> saves CL description local
    prior to uploading.  gcl change <name> after a failed
    Rietveld upload uses local CL description instead of
    using the associated issue's description from Rietveld.
    Changes in this state are reset to the 'clean' state
    after the Rietveld update completes.
    Review URL: http://codereview.chromium.org/428001
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@32791 0039d316-1c4b-4281-b951-d872f2087c98
    ea452b3f
Name
Last commit
Last update
..
pymox Loading commit data...
README.gclient_test Loading commit data...
__init__.py Loading commit data...
gcl_unittest.py Loading commit data...
gclient_scm_test.py Loading commit data...
gclient_test.py Loading commit data...
gclient_utils_test.py Loading commit data...
presubmit_unittest.py Loading commit data...
revert_unittest.py Loading commit data...
scm_unittest.py Loading commit data...
super_mox.py Loading commit data...
trychange_unittest.py Loading commit data...
watchlists_unittest.py Loading commit data...