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
skylined@chromium.org 666eb33dfc PathDifference cuts a supplied "root path" from a second path and returns what remains. It is assumed that this can be used as a relative path from the "root path" to the second path.
If the root path ends with a path separator (\ or /), the function used to cut an additional character from the path and the returned value would be incorrect. This fix makes sure the behavior is consistent and correct no matter if the root path ends with a separator or not.

(This fixes the "epot_tools" tools bug.)
Review URL: http://codereview.chromium.org/118376

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17855 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
bootstrap Change the python.new.bat and svn.new.bat to work around potential dynamic dll loading issues. 16 years ago
tests Fix presubmit_support.py run standalone and RunPythonUnitTests 16 years ago
LICENSE Create the Next Generation of depot_tools. Eh. 16 years ago
PRESUBMIT.py Fix the PRESUBMIT.py for depot_tools. 16 years ago
README - Add change-svn-wc-format.py utility from http://svn.collab.net/repos/svn/trunk/tools/client-side/change-svn-wc-format.py 16 years ago
README.gclient Pull gclient revision 72 and add the gclient unit test. 16 years ago
README.git-cl Create the Next Generation of depot_tools. Eh. 16 years ago
README.git-cl.codereview Create the Next Generation of depot_tools. Eh. 16 years ago
change-svn-wc-format.py - Add change-svn-wc-format.py utility from http://svn.collab.net/repos/svn/trunk/tools/client-side/change-svn-wc-format.py 16 years ago
chrome-update-create-task.bat Set some batch files as executable. 16 years ago
chrome-update.bat Automatic searching for vcvars.bat and report an error if the file cannot be found. 16 years ago
chrome-update.py Create the Next Generation of depot_tools. Eh. 16 years ago
cpplint.py Create the Next Generation of depot_tools. Eh. 16 years ago
gcl Fix gcl under cygwin. Really ugly fix... 16 years ago
gcl.bat Fix gcl under cygwin. Really ugly fix... 16 years ago
gcl.py TBR: nsylvain 16 years ago
gclient Fix the gclient trampoline on cygwin to redirect to the batch file. 16 years ago
gclient.bat Force depot_tools to be in the PATH before /usr/bin in cygwin. 16 years ago
gclient.py Fix gclient config with a trailing backslash. 16 years ago
git-cl Add git-cl and git-try stubs. 16 years ago
git-try Add git-cl and git-try stubs. 16 years ago
hammer Set svn:executable on hammer. 16 years ago
hammer.bat Set some batch files as executable. 16 years ago
presubmit_canned_checks.py Fix presubmit_support.py run standalone and RunPythonUnitTests 16 years ago
presubmit_support.py Fix presubmit_support.py run standalone and RunPythonUnitTests 16 years ago
profile.xml Create the Next Generation of depot_tools. Eh. 16 years ago
revert Create the Next Generation of depot_tools. Eh. 16 years ago
revert.bat Set some batch files as executable. 16 years ago
revert.py Clean up revert.py and fixes an issue when only one file is reverted in a subdirectory. 16 years ago
trychange.py PathDifference cuts a supplied "root path" from a second path and returns what remains. It is assumed that this can be used as a relative path from the "root path" to the second path. 16 years ago
upload.py Use os.path.join() instead of hardcoding / 16 years ago

README

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

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:

  change-svn-wc-format.py
    Tool to convert from a svn checkout format to another. Fetched from
    http://svn.collab.net/repos/svn/trunk/tools/client-side/change-svn-wc-format.py

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

  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/

  revert
    A small tool to quickly revert a change.

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

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

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