zoukankan      html  css  js  c++  java
  • depot_tools安装过程

    使用torserviseSVN 1.6.6版本

    移除其它版本

    Install the depot_tools

    Chromium and Chromium OS use a package of scripts called depot_tools to manage checkouts and code reviews.  If you want more details about depot_tools, you can check the depot_tools information page. The depot_tools package includes gclient, gclgit-clrepo, and others.

    Steps for installing

    Linux and Mac

    1. Grab the checkout with one of:
      1. non-committers (to depot_tools):   svn co http://src.chromium.org/svn/trunk/tools/depot_tools
      2. committers (again, to depot_tools):   svn co svn://svn.chromium.org/chrome/trunk/tools/depot_tools
    2. Add depot_tools to your PATH:
      1. $ export PATH="$PATH":`pwd`/depot_tools
      2. You may want to add this to your .bash_aliases file or your shell's equivalent so that you don’t need to reset your $PATH manually each time you open a new shell.

    Windows (Cygwin and non-Cygwin)

    Preamble

    First decide if you want to use cygwin or not. Then, do not switch. If you use native svn on a cygwin's svn checkout and it blows up, you are on your own, e.g. you'll need to do a fresh checkout.

    Instructions

    If using Cygwin, you should have already installed cygwin by this point.
    1. Get a copy of depot_tools:
      • Cygwin: Check out the tools using the command in step (1) for Linux and Mac above.
      • Non-cygwin: Download depot_tools.zip and decompress it.
    2. Non-cygwin: Run gclient once from the cmd shell, which causes it to install its own copy of svn and other tools. If you see strange errors with the file system on the first run of gclient, you may want to disable Windows Indexing.
    3. Add depot_tools to the end (not start!) of your PATH:
      • System Properties, Advanced properties, Environment Variables, modify the "Path" system variable.
    4. Cygwin only: Close your shells, reopen a Cygwin shell, and ensure that which svn reports /usr/bin/svn If not, you either didn't install the svn package properly when installing Cygwin, or you put depot_tools on the front of your PATH instead of the back.  Fix this before checking out any code, as once you check out, you want to always use the same svn (Cygwin or depot_tools) to work with that checkout -- otherwise strange things can happen that are most easily fixed by completely wiping the checkout.

    See also Howto: depot tools

  • 相关阅读:
    基于密度的dbScan轨迹聚类
    更新yum 源
    搭建git linux 服务器
    富文本编辑器
    轨迹聚类分析问题
    hdu3078(lca / RMQ在线)
    zoj3195(lca / RMQ在线)
    hdu2874(lca / tarjan离线 + RMQ在线)
    hdu2586(lca模板 / tarjan离线 + RMQ在线)
    高斯消元求解方程组(模板)
  • 原文地址:https://www.cnblogs.com/lexus/p/2430921.html
Copyright © 2011-2022 走看看