Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: git-crup

Issue 1432233002: Delete git-crup command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env bash
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 TOPLEVEL=$(git rev-parse --show-toplevel)
7 TOPPERLEVEL=$(dirname $TOPLEVEL)
8
9 cat <<EOF
10 Sorry `whoami`, but the git-submodule flow has been deprecated in order to
11 simplify the plethora of SCM choices, and to pave the way towards a git-only
12 chromium development flow.
13
14 Please consult https://code.google.com/p/chromium/wiki/UsingGitSubmodules#Conver t_from_submodules_to_gclient
15 for instructions on how to convert your submodule checkout to gclient.
16
17 The simplest chromium and/or blink instructions follow for convenience.
18
19 1. Make sure the parent directory of this checkout is empty, besides this repo:
20 $ ls $TOPPERLEVEL
21 EOF
22 ls "$TOPPERLEVEL"
23 if [[ "$(ls "$TOPPERLEVEL")" != 'src' ]]
24 then
25 echo Please move this repo to its own directory before continuing!!!
26 fi
27 echo
28
29 cat <<EOF
30 2. Please add a .gclient file to $TOPPERLEVEL/.gclient of the form:
31 # ======== .gclient begins =========
32 solutions = [{
33 'name': '$(basename "$TOPLEVEL")',
34 'url': 'https://chromium.googlesource.com/chromium/src.git',
35 'managed': False,
36 'deps_file': '.DEPS.git',
37 # Uncomment the following if you're doing blink development
38 # 'custom_vars': {'webkit_revision': ''},
39 }]
40 # ======== .gclient ends =========
41
42 3. Run \`gclient sync\` to synchronize dependencies in your checkout instead of $(basename "$0")!
43 EOF
44
45 exit 1
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698