• cmp@chromium.org's avatar
    Handle updating depot_tools repos that are git cloned. · b9d08cec
    cmp@chromium.org authored
    Until recently, no proper Git clone of depot_tools existed.
    All Git clones were set up locally via git svn clone.  The
    way repos of that type are updated is via 'git svn rebase'.
    
    Now, a supported Git clone of depot_tools exists.  The
    update process for repos of this type is via 'git fetch'
    and 'git rebase'.
    
    Modify the update_depot_tools* scripts so they can update
    depot_tools for git cloned or git svn cloned methods.  This
    also means that git svn is no longer required, so move that
    test after we check for git cloned repos.
    
    R=maruel@chromium.org
    
    TEST=Linux + git clone: on Linux, git clone
    https://git.chromium.org/chromium/tools/depot_tools.git.  Apply
    and commit this patch locally.  Note commit hash of HEAD.  Run
    'git reset --hard "HEAD^^^"'.  Run
    'git cherry-pick HASH_OF_UPDATE_CHANGE'.  Run './update_depot_tools'.
    Verify depot_tools is updated to latest available revision + this
    change.
    
    TEST=Linux + git svn clone: on Linux, git svn clone
    svn://svn.chromium.org/chrome/trunk/tools/depot_tools.
    Apply and commit this patch locally.  Note commit hash
    of HEAD.  Run 'git reset --hard "HEAD^^^"'.  Run 'git cherry-pick
    HASH_OF_UPDATE_CHANGE'.  Run './update_depot_tools'.  Verify
    depot_tools is updated to latest available revision + this change.
    
    TEST=Windows command prompt + git clone: on Windows command prompt,
    run Linux+git clone test, except use update_depot_tools.bat.  Verify
    depot_tools is updated to latest available revision + this change.
    
    TEST=Windows command prompt + git svn clone: on Windows command
    prompt, run Linux+git svn clone test, except use
    update_depot_tools.bat.  Verify depot_tools is updated to latest
    available revision + this change.
    
    TEST=Windows cygwin + git clone: on Windows command prompt,
    run Linux+git clone test.  Verify depot_tools is updated to latest
    available revision + this change.
    
    TEST=Windows cygwin + git svn clone: on Windows command
    prompt, run Linux+git svn clone test.  Verify depot_tools is updated
    to latest available revision + this change.
    
    Review URL: https://chromiumcodereview.appspot.com/10263004
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@134732 0039d316-1c4b-4281-b951-d872f2087c98
    b9d08cec
Name
Last commit
Last update
bootstrap Loading commit data...
git-utils Loading commit data...
ninja-win Loading commit data...
support Loading commit data...
testing_support Loading commit data...
tests Loading commit data...
third_party Loading commit data...
zsh-goodies Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README Loading commit data...
README.codereview Loading commit data...
README.gclient Loading commit data...
README.git-cl Loading commit data...
README.testing Loading commit data...
WATCHLISTS Loading commit data...
apply_issue.py Loading commit data...
breakpad.py Loading commit data...
cbuildbot Loading commit data...
checkout.py Loading commit data...
chrome-update-create-task.bat Loading commit data...
chrome-update.bat Loading commit data...
chrome-update.py Loading commit data...
chrome_set_ver Loading commit data...
codereview.settings Loading commit data...
commit_queue.py Loading commit data...
cpplint.bat Loading commit data...
cpplint.py Loading commit data...
cpplint_chromium.py Loading commit data...
create-chromium-git-src Loading commit data...
cros_sdk Loading commit data...
drover Loading commit data...
drover.bat Loading commit data...
drover.py Loading commit data...
fix_encoding.py Loading commit data...
gcl Loading commit data...
gcl.bat Loading commit data...
gcl.py Loading commit data...
gclient Loading commit data...
gclient.bat Loading commit data...
gclient.py Loading commit data...
gclient_scm.py Loading commit data...
gclient_utils.py Loading commit data...
git-cl Loading commit data...
git-cl-upload-hook Loading commit data...
git-gs Loading commit data...
git-try Loading commit data...
git_cl.py Loading commit data...
git_try.py Loading commit data...
hammer Loading commit data...
hammer.bat Loading commit data...
my_reviews.py Loading commit data...
ninja Loading commit data...
ninja-linux64 Loading commit data...
ninja-mac Loading commit data...
ninja.bat Loading commit data...
owners.py Loading commit data...
package_management.py Loading commit data...
patch.py Loading commit data...
presubmit_canned_checks.py Loading commit data...
presubmit_support.py Loading commit data...
profile.xml Loading commit data...
pylintrc Loading commit data...
repo Loading commit data...
rietveld.py Loading commit data...
scm.py Loading commit data...
subprocess2.py Loading commit data...
trychange.py Loading commit data...
update_depot_tools Loading commit data...
update_depot_tools.bat Loading commit data...
watchlists.py Loading commit data...
weekly Loading commit data...
wtf Loading commit data...