Commit Graph

1379 Commits (cb5e57ca95e5d332dfd8f5dfb6d9fa6d30ee9898)
 

Author SHA1 Message Date
bradnelson@google.com 5b55310443 Fixing up hammer script to work in the nacl and o3d trees.
BUG=None
TEST=None

Review URL: http://codereview.chromium.org/164099

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@22990 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
pam@chromium.org f0dfba3f44 Add all modified files to new changelists by default.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/164084

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@22800 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
phajdan.jr@chromium.org 68f2e09652 Splice matching_files_list in $matching_files' place in gclient.py.
Based on Mark Mentovai's mail.
Review URL: http://codereview.chromium.org/164068

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@22616 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
laforge@chromium.org 8b60d0d4b1 Revert 22561 - Minor change to gcl to automatically put changed files in the changelist (like we do with P4)
R=nsylvain
Review URL: http://codereview.chromium.org/164028

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@22608 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 6607d4d923 Adding cpplint.bat to depot_tools.
so you can type only cpplint in console like the other scripts(gclient, gcl, etc)

BUG=None
TEST=None

Patch contributed by thiago.farina@gmail.com


git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@22576 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
laforge@chromium.org d90ad9b76d Drover == tool to rapidly merge/revert off of trunk and branch
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@22565 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
laforge@chromium.org 1ef869cbb9 Minor change to gcl to automatically put changed files in the changelist (like we do with P4)
R=nsylvain
Review URL: http://codereview.chromium.org/164028

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@22561 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
estade@chromium.org bfd09ce886 Get rid of annoying empty changelists!
1) don't save empty changelists to begin with. This guards against an accidental or canceled "gcl change" creating an empty file.
2) create a "clearempties" command which clears all changelists that don't have any files in them.

Review URL: http://codereview.chromium.org/160139

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@22538 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
ukai@chromium.org a301f1f3e4 Use input_api.os_path.pathsep instead of ';' to join a list of paths.
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/160626

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@22473 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 2534063d34 Make initial git-cl and git-try fetch quieter.
Add .gitignore for causual ignores.

TEST=none
BUG=none

Review URL: http://codereview.chromium.org/159855


git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@22380 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org d659ceaa95 Prints help when the user only type revert in command line.
BUG=None
TEST=None

Patch contributed by Thiago Fransosi Farina <thiago.farina@gmail.com>

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@22294 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org c5e9aec590 Fix output on Windows when gclient warns the user about a stale directory.
TEST=unit test
BUG=none

Review URL: http://codereview.chromium.org/159788

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@22290 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
phajdan.jr@chromium.org 71b4068161 Pass matching file list to the hook in gclient.
Review URL: http://codereview.chromium.org/160294

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@22224 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
evan@chromium.org 67820efbf0 Add a --nohooks to gclient to update/sync/revert without calling the hooks
BUG=16856

Patch from Fabien Tassin <fta@sofaraway.org>.


git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@21655 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
phajdan.jr@chromium.org 644aa0cfaa Add export command to gclient.py
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@20990 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org b3b00a41c8 Add --target support to trychange.py.
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/155032

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19878 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org a05be0ba8d Fix 'gcl help' when not run inside a svn checkout.
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/150114

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19628 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org b8b6b871f5 Add help for --head.
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/151082

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19622 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
sky@chromium.org 2191458515 Gets gclient to work in emacs again.
Also fixes bug where gclient fails because options isn't defined.


git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19498 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org e49187c280 Fix CheckSvnProperty canned check.
It was totally broken until I actually tried it. Fix the test accordingly.

TEST=unit test
BUG=none
Review URL: http://codereview.chromium.org/149096

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19433 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org ce8e46b3b2 Ask for feedback one time out of 5, only when there is presubmit check notification.
TEST=unit test
BUG=none
Review URL: http://codereview.chromium.org/147162

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19429 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 717e1ce5a8 Use git svn rebase instead of git svn fetch & git svn merge
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/147014

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19277 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org c0b2297c8a Change RunPythonUnitTests() to run the unit tests in a separate process.
The unit tests could modify global state in hard-to-revert ways and would make the PRESUBMIT.py check flaky.
Having the test running out of process alleviate any potential issue at the cost of speed (more noticeable on Windows).

TEST=unit tests
BUG=none

Review URL: http://codereview.chromium.org/147035

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19248 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
erg@google.com 6317a9c177 Copy a newer release of cpplint.py from google-styleguide.
Review URL: http://codereview.chromium.org/147119

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19206 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
ajwong@chromium.org 8399dc0549 Fix silly typo issue. Not sure how the original code worked on my box.
Review URL: http://codereview.chromium.org/146050

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19063 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
ajwong@chromium.org cdcee80cd8 Modify gclient to only delete unversioned trees during an update if
the --delete_unversioned flag is specified.  This only affects the update
command.  Reverts will still delete the unversioned tree.

Review URL: http://codereview.chromium.org/125147

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19021 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
nirnimesh@chromium.org 76256af3ce Review URL: http://codereview.chromium.org/132022

							
						
16 years ago
maruel@chromium.org 46e832a00b Add svn:mime-type canned checks.
TEST=new unit tests
BUG=none

Review URL: http://codereview.chromium.org/131056

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18739 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org e29111d05e Update svn:ignore.
TEST=none
BUG=none


git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18737 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
nirnimesh@chromium.org b82e409ed7 Add unit tests for watchlists
Review URL: http://codereview.chromium.org/126272

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18704 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 522ca09c54 Reapply 18633 that was reverted in 18634 because bootstrap/gclient.sh was not found.
Now update git depot_tools checkouts, also add automatic update for git-cl-repo and git-try-repo.

The difference with 18633 is that it leaves bootstrap/gclient.sh along. I'll remove it in a month or so to not break anyone in the meantime.

TEST=none
BUG=none
TBR=evan
Review URL: http://codereview.chromium.org/129001

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18637 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 0a3488a5a8 Revert 18633
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18634 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 25a8081d37 Now update git depot_tools checkouts, also add automatic update for git-cl-repo and git-try-repo.
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/125259

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18633 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 6b3c20dbe0 Fix super_mox on posix.
TEST=unit tests now runs
BUG=none
TBR=nsylvain

Review URL: http://codereview.chromium.org/126278

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18620 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
nirnimesh@chromium.org 8b0c4ac8a9 Fix a failure in testDirectoryHandling on posix.
Review URL: http://codereview.chromium.org/125252

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18619 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org ab2790a7d6 Fix revert.py which was broken on r18272.
Also adding unit tests.

TEST=new unit tests
BUG=none
TBR=nsylvain

Review URL: http://codereview.chromium.org/125253

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18618 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 775a79c5f0 It seems it helps on certain cygwin setup.
Ah cygwin...

Patch contributed by cmp@google.com

TBR=nsylvain
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/125249

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18613 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org f7fb33eed4 Add better try server settings automatic detection support.
This is a redo of http://codereview.chromium.org/123020 (revision 18198) that was reverted in revision 18232 because of a codereview.settings misconfiguration and not because the script was broken.

The misconfiguration was fixed in http://codereview.chromium.org/126021

Review URL: http://codereview.chromium.org/125135

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18612 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org c70a220f72 Add partial presubmit support to git checkout.
Also fix argument processing.

It doesn't works at the moment but doesn't throw an exception either. :)

TEST=none
BUG=none

Review URL: http://codereview.chromium.org/125095

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18611 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org ac4b100a69 Add scripts to thunk into the non-cygwin version of svn and python.
This is slightly messy but seemingly necessary because cygwin doesn't consider a .bat file when running the command without the .bat extension.

TEST=shouldn't break everything
BUG=none
Review URL: http://codereview.chromium.org/125032

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18337 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 2e50180403 Fix gcl presubmit usage.
TEST=none
BUG=none
TBR=nsylvain

Review URL: http://codereview.chromium.org/125079

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18325 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 4ff922af46 Remove gcl.ChangeInfo dependency in presubmit_support.py.
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/126068

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18309 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
nirnimesh@chromium.org 07f0186d08 Really really fix gcl.py
TEST=none
BUG=none
TBR=maruel

Review URL: http://codereview.chromium.org/126057

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18279 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 0b7574dc41 Fix gcl upload for real this time.
I had used the old method name. watchlists needs a unit test.

TEST=none
BUG=none
TBR=nirnimesh

Review URL: http://codereview.chromium.org/125053

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18278 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 5159b2e26c Fix watchlist exception on upload.
TEST=none
BUG=none
TBR=nirnimesh

Review URL: http://codereview.chromium.org/126051

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18274 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org ccde1c92e6 Write the command to execute in the error message so people don't have to learn how svn works.
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/126050

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18273 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 8d5c9a5a52 Fix gcl breakage.
Small refactor of ChangeInfo to not hardcode the use of GetRepositoryRoot().

TEST=unit tests
BUG=none

Review URL: http://codereview.chromium.org/125051

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18272 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 17f59f2dd9 A step closer to make presubmit SCM independent.
Stop presubmit_support.py from calling gcl.GetRepositoryRoot(). Instead, save the repository root in ChangeInfo and name it GetLocalRoot() to make it less confusing.
Add GetFileList() and GetFileNames() to ChangeInfo to make it less confusing and more "interface-like".

TEST=updated unit tests with a lot of pain
BUG=none

Review URL: http://codereview.chromium.org/119442

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18266 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org a005ccdead Fix 'gcl settings' output.
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/126032

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18265 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org a6f27cd0a4 Add --no_watchlists to some tests to work around unit tests failures.
TESTS=still none
BUG=none
TBR=nirnimesh

Review URL: http://codereview.chromium.org/126031

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