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
primiano@chromium.org 1c1273893e Reland "Make gclient ready for the Blink (DEPS to main project)"
Reland crrev.com/743083002, which was reverted in crrev.com/796053002
due to some test flakiness, probably related with an old version of Git on
the bots. Relanding now that the infra has been updated to Trusty (plus
adding some de-flake precautions).

Original CL Description:
Make gclient ready for the Blink (DEPS to main project) transition

This CL makes gclient understand correctly whether a git project is
being moved from DEPS to an upper project and vice-versa.
The driving use case for this is the upcoming Blink merge, where
third_party/Webkit will be removed from DEPS (and .gitignore) and will
become part of the main project.

At present state, gclient leaves the .git folder around when a project
is removed from DEPS, and that causes many problems.

Furthermore this CL solves the performance problem of bisecting across
the merge point. The subproject's (Blink) .git/ folder is moved to a
backup location (in the main checkout root) and is restored when moving
backwards, avoiding a re-fetch when bisecting across the merge point.

BUG=431469

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294082 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
bootstrap
git-templates
git_utils
man
recipes
support
testing_support
tests
third_party
win_toolchain
zsh-goodies
.gitignore
LICENSE
OWNERS
PRESUBMIT.py
README
README.codereview
README.gclient
README.git-cl
README.testing
WATCHLISTS
annotated_gclient.py
apply_issue
apply_issue.bat
apply_issue.py
breakpad.py
brillo
cbuildbot
checkout.py
chrome-update-create-task.bat
chrome-update.bat
chrome-update.py
chrome_set_ver
clang-format
clang-format.bat
clang_format.py
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
download_from_google_storage
download_from_google_storage.bat
download_from_google_storage.py
drover
drover.bat
drover.py
fetch
fetch.bat
fetch.py
fix_encoding.py
gcl
gcl.bat
gcl.py
gclient
gclient-new-workdir.py
gclient.bat
gclient.py
gclient_completion.sh
gclient_scm.py
gclient_utils.py
gerrit_util.py
git-auto-svn
git-cache
git-cherry-pick-upload
git-cl
git-cl-upload-hook
git-crrev-parse
git-crsync
git-crup
git-footers
git-freeze
git-gs
git-lkgr
git-map
git-map-branches
git-mark-merge-base
git-nav-downstream
git-nav-upstream
git-new-branch
git-number
git-rebase-update
git-rename-branch
git-reparent-branch
git-retry
git-runhooks
git-squash-branch
git-thaw
git-try
git-upstream-diff
git_auto_svn.py
git_cache.py
git_cherry_pick_upload.py
git_cl.py
git_common.py
git_footers.py
git_freezer.py
git_map.py
git_map_branches.py
git_mark_merge_base.py
git_nav_downstream.py
git_new_branch.py
git_number.py
git_rebase_update.py
git_rename_branch.py
git_reparent_branch.py
git_retry.py
git_squash_branch.py
git_try.py
git_upstream_diff.py
gn
gn.bat
gn.py
gsutil.py
hammer
hammer.bat
my_activity.py
my_reviews.py
ninja
ninja-linux32
ninja-linux64
ninja-mac
ninja.exe
owners.py
owners_finder.py
patch.py
presubmit_canned_checks.py
presubmit_support.py
profile.xml
pylint
pylint.py
pylintrc
python_git_runner.sh
repo
rietveld.py
roll-dep
roll-dep.bat
roll_dep.py
scm.py
subcommand.py
subprocess2.py
trychange.py
update_depot_tools
update_depot_tools.bat
upload_to_google_storage.py
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