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.
 
 
 
 
Go to file
xusydoc@chromium.org 2fd6c3fcb7 Kill subprocesses on KeyboardInterrupt.
SVN traps SIGINT and attempts to clean itself up, but this results in hangs
waiting for TCP. This patch does two things: daemonizes worker threads so they
are culled when the main thread dies (is ctrl-C'd) and keeps track of spawned
subprocesses to kill any remaining ones when the main program is ctrl-C'd.

A user ctrl-C'ing gclient has to manually terminate hung SVN processes, so this
introduces no extra data loss or hazard. stracing a hung SVN process shows that
it is indeed hanging on TCP reads after receiving a SIGINT, implying there is an
underlying but in the SVN binary.

Review URL: https://chromiumcodereview.appspot.com/14759006

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@198205 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
bootstrap
git-templates git template files for chromium checkouts. 12 years ago
git_utils Allow branches without upstream. 12 years ago
recipes Add fetch recipe alias targetting Android 12 years ago
support chromite_wrapper: Support git submodule checkouts. 12 years ago
testing_support Remove getpid from SuperMox. 12 years ago
tests Kill subprocesses on KeyboardInterrupt. 12 years ago
third_party Update update.py from rietveld/chromium@r1052. 12 years ago
zsh-goodies
.gitignore Ignore ctags index file. 12 years ago
LICENSE
OWNERS Add iannucci to depot_tools OWNERS 12 years ago
PRESUBMIT.py Add support for parallel presubmit unit testing. 12 years ago
README
README.codereview
README.gclient
README.git-cl
README.testing
WATCHLISTS Use cmp-cc for watchlists. 12 years ago
apply_issue
apply_issue.bat
apply_issue.py Make apply_issue.py more aggressive when deleting an entry from a DEPS file. 12 years ago
breakpad.py
cbuildbot
checkout.py Enforce 15 minutes timeout for all operations and 30 minutes for checkouts. 12 years ago
chrome-update-create-task.bat
chrome-update.bat
chrome-update.py
chrome_set_ver
codereview.settings
commit_queue.py
cpplint.bat
cpplint.py
cpplint_chromium.py
create-chromium-git-src
create-ntfs-junction.c
create-ntfs-junction.exe
cros
cros_sdk
crup-runner.sh Allow multiple OSes to be checked out with git submodules. 12 years ago
download_from_google_storage.py Scripts to download files from google storage based on sha1 sums 12 years ago
drover
drover.bat
drover.py Misc improvements to drover 12 years ago
fetch add auto-update step to 'fetch' wrappers 12 years ago
fetch.bat add auto-update step to 'fetch' wrappers 12 years ago
fetch.py Control the order of gclient spec keys in fetch 12 years ago
fix_encoding.py
gcl
gcl.bat
gcl.py Messages are required to get the right list of reviewers. 12 years ago
gclient
gclient.bat
gclient.py Kill subprocesses on KeyboardInterrupt. 12 years ago
gclient_scm.py Revert http://crrev.com/195336 12 years ago
gclient_utils.py Kill subprocesses on KeyboardInterrupt. 12 years ago
git-cl
git-cl-upload-hook
git-crsync Add --sync option, to only sync submodules. 12 years ago
git-crup Refactor with fixes for msys-git. 12 years ago
git-gs Added *.grdp to git-gs. 12 years ago
git-lkgr Add --closest option to git-lkgr. 12 years ago
git-runhooks Invoke python correctly from windows. 12 years ago
git-try
git-wktry Add a git command for running ToT WebKit patches against the trybots. 12 years ago
git_cl.py Make git-cl more accurately imitate git's editor selection process, and respect $VISUAL. 12 years ago
git_try.py
git_wktry.py Fix lint error in git_wktry. 12 years ago
hammer
hammer.bat
my_activity.py Add reviewers to optional outputs for changes 12 years ago
my_reviews.py
ninja
ninja-linux32 Update ninja to v1.1.0 on Mac, Linux32, Linux64, Windows. 12 years ago
ninja-linux64 Update ninja to v1.1.0 on Mac, Linux32, Linux64, Windows. 12 years ago
ninja-mac Update ninja to v1.1.0 on Mac, Linux32, Linux64, Windows. 12 years ago
ninja.exe Update ninja to v1.1.0 on Mac, Linux32, Linux64, Windows. 12 years ago
owners.py Add a way to require approval from owners other than the author. 12 years ago
patch.py
presubmit_canned_checks.py Add support for parallel presubmit unit testing. 12 years ago
presubmit_support.py Fix uninitialized variable error in presubmit_support 12 years ago
profile.xml
pylint
pylint.py
pylintrc
repo
rietveld.py Cut the comment short in Rietveld.add_comment(). [follow up of r177704] 12 years ago
scm.py Fix 236148: Avoid triggering a pager in internal git commands. 12 years ago
subprocess2.py Add nag_timer. 12 years ago
trychange.py
update_depot_tools Point to newer git-1.8.0_bin directory. 12 years ago
update_depot_tools.bat Execute a temp copy of update_depot_tools.bat 12 years ago
upload_to_google_storage.py Scripts to download files from google storage based on sha1 sums 12 years ago
watchlists.py
weekly
wtf

README

This package contains tools for working with Chromium development.

The "gclient" wrapper knows how to keep this repository updated to
the latest versions of these tools as found at:

    http://src.chromium.org/svn/trunk/tools/depot_tools

This package contains:

  chrome-update-create-task.bat
    Creates a scheduled task to do an automatic local chromium build every day.

  cpplint.py
    A copy of our linting tool which enforces Google style. Fetched from
    http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py

  gcl
    A tool for uploading and managing code reviews on the Chromium
    project, using the Rietveld code review tool.  More info at:
    http://code.google.com/p/rietveld/

  gclient
    A script for managing a workspace with modular dependencies that
    are each checked out independently from different repositories.
    More info at:
    http://code.google.com/p/gclient/

  hammer
    A wrapper script for building Chromium with the SCons software
    construction tool.  More info at:
    http://www.scons.org/

Note: svn and python will be installed automatically if not accessible (on
Windows only).

To update this distribution manually, run .\update_depot_tools.bat on Windows,
or ./update_depot_tools on Linux or Mac.

To disable automatic updating, set the environment variable DEPOT_TOOLS_UPDATE=0