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.
Right now if you svn cp or svn mv before uploading to rietveld, there's no description in the patch at all of what was done; so you get a diff, but it's for who knows what revision of what prior file to some current version. For code reviews this kinda works (you ask the guy what it was), but for trying to apply patches (ala git patch) this fails badly. This patch tries to add some metadata to the start of a rietveld patch that describes these changes: both to a human (who can read them) and to a potential clever future git-cl (which I'll do next). The metadata looks like this after checking out a test repo, and svn cp -r 1 foo nitz; svn cp bar quux; echo be good>>quux ### BEGIN SVN COPY METADATA #$ svn cp -r 1 foo nitz ### WARNING: note non-trunk copy #$ cp bar quux ### END SVN COPY METADATA Index: nitz Index: quux =================================================================== --- quux (revision 0) +++ quux (working copy) @@ -1,2 +1,3 @@ hi mom hi sister +be good I did a test, and this looks like it works in svn 1.4.4 as well. BUG=none TEST=none Review URL: http://codereview.chromium.org/2824035 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@51121 0039d316-1c4b-4281-b951-d872f2087c98 |
15 years ago | |
---|---|---|
bootstrap | 15 years ago | |
tests | 15 years ago | |
third_party | 15 years ago | |
zsh-goodies | 15 years ago | |
.gitignore | 15 years ago | |
LICENSE | 16 years ago | |
PRESUBMIT.py | 15 years ago | |
README | 15 years ago | |
README.gclient | 16 years ago | |
WATCHLISTS | 16 years ago | |
breakpad.py | 15 years ago | |
chrome-update-create-task.bat | 16 years ago | |
chrome-update.bat | 16 years ago | |
chrome-update.py | 16 years ago | |
codereview.settings | 15 years ago | |
cpplint.bat | 16 years ago | |
cpplint.py | 16 years ago | |
create-chromium-git-src | 16 years ago | |
drover | 16 years ago | |
drover.bat | 16 years ago | |
drover.py | 15 years ago | |
gcl | 16 years ago | |
gcl.bat | 16 years ago | |
gcl.py | 15 years ago | |
gclient | 15 years ago | |
gclient.bat | 15 years ago | |
gclient.py | 15 years ago | |
gclient_scm.py | 15 years ago | |
gclient_utils.py | 15 years ago | |
git-cl | 15 years ago | |
git-cl-upload-hook | 16 years ago | |
git-gs | 15 years ago | |
git-try | 15 years ago | |
git_cl_hooks.py | 15 years ago | |
hammer | 16 years ago | |
hammer.bat | 16 years ago | |
presubmit_canned_checks.py | 15 years ago | |
presubmit_support.py | 15 years ago | |
profile.xml | 16 years ago | |
pylintrc | 15 years ago | |
scm.py | 15 years ago | |
trychange.py | 15 years ago | |
watchlists.py | 16 years ago | |
weekly | 15 years ago | |
wtf | 15 years ago |
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 bootstrap\gclient.bat on Windows, or bootstrap/gclient.sh on Linux or Mac. To disable automatic updating, set the environment variable DEPOT_TOOLS_UPDATE=0