Commit Graph

62 Commits (053817260a00cac70d8e5a2105d94b93b3f81e6f)

Author SHA1 Message Date
dpranke@chromium.org fd79e0d248 improve the error message fetch returns if a checkout exists
to tell the user how to recover from partial checkouts and
what to do with an existing checkout.

R=iannucci@chromium.org
BUG=230691

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@194019 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
dpranke@chromium.org 6cc97a1bac Ensure that we pick up 'git.bat' and 'svn.bat' on Windows.
R=maruel@chromium.org
BUG=227526


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@193865 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
jochen@chromium.org d993e78d3b Add the --nosvn property to the chromium solution.
This allows non-committers to use fetch to checkout chromium or blink using

$ fetch chromium --nosvn=true

BUG=230357
R=dpranke@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@193713 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
dpranke@chromium.org 8623da3be3 add in deltaBaseCacheLimit workaround
R=maruel@chromium.org
BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192358 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
agable@chromium.org 2560ea76c5 Make fetch run svn ls for svn repos behind git-svn configs.
R=dpranke@chromium.org,iannucci@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192205 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
dpranke@chromium.org 6b8c91a145 Make depot_tools' fetch work on windows if 'gclient' isn't in the path
TBR=maruel@chromium.org, agable@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192170 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
dpranke@chromium.org 7ca51b30a4 print chdirs for dryrun in fetch
TBR=iannucci@chromium.org, maruel@chromium.org, agable@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192164 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
dpranke@chromium.org a992edbc1a fix dryrun, path check in 'fetch'
TBR=iannucci@chromium.org, agable@chromium.org, maruel@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192160 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
dpranke@chromium.org 2bf328a8f9 handle unknown recipes in 'fetch'.
TBR=iannucci@chromium.org, agable@chromium.org, maruel@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192157 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
dpranke@chromium.org d88d7f5ce3 add a -n/--dry-run to the new fetch command in depot_tools
This is done as a hack since we don't really have real option parsing :(.

R=iannucci@chromium.org, agable@chromium.org, maruel@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192154 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
dpranke@chromium.org e3d147d951 add help (-h/--help/help) to fetch.
TBR=iannucci@chromium.org, maruel@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192135 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
agable@chromium.org cc023508e4 First commit of depot_tools/fetch.py
This is the bare minimum to have fetch.py working for chromium.
The DEPS file pulls the new tools/recipes repo in, which will contain
the recipe for chromium and all other checkout recipes eventually (followup
CL coming shortly). fetch and fetch.bat simply invoke fetch.py. fetch.py
takes a recipe and some arguments on the command line, invokes the recipe
to get its instructions, and performs the actual checkout.

Currently only supports Gclient-Git-Svn checkout (the kind needed for
Chromium), but other checkout types will be pulled from annotated_checkout.py
soon.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192130 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago