maruel@chromium.org
8626ff72df
Finally implement the code to automatically switch checkout when there is no local modification.
...
Bail off as soon as there is anything showing up on svn status.
TBR=sgk
Review URL: http://codereview.chromium.org/113319
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15929 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
39593706a7
Fix unit test due to change r15911.
...
TBR=estade
Review URL: http://codereview.chromium.org/115283
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15928 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
estade@chromium.org
3bcc6cebff
Pass "gcl help upload" to upload.py.
...
Review URL: http://codereview.chromium.org/113303
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15911 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
kuchhal@chromium.org
00c41e457b
Add presubmit checks to look for BUG= and TEST= tags in change list description (Part 1 of 2).
...
BUG=11287
TEST=gcl commit should fail unless BUG= & TEST= exist in change list description or --no_presubmit is used.
Review URL: http://codereview.chromium.org/113294
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15905 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
4810a96600
Deprecate gcl.GetSVNStatus() for gclient.CaptureSVNStatus() and fix some status information that was lost.
...
This was breaking gclient revert on unversioned files.
TEST=ran "for %a in (tests\*test.py) do python %a" and all tests succeeded.
Review URL: http://codereview.chromium.org/115264
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15894 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
46a9410947
Deprecate gcl.GetSVNFileInfo() for gclient.CaptureSVNInfo().
...
Review URL: http://codereview.chromium.org/113290
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15891 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
5c3a2ff6a2
Add a flag not print errors in CaptureSVN()
...
Review URL: http://codereview.chromium.org/113288
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15887 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
be0d1ca0e4
Add more tests and cleanup ChangeInfo class.
...
Review URL: http://codereview.chromium.org/113269
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15885 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
df7a3134bd
Simplify some functions by removing the options.stdout mock. Fix the unit test accordingly.
...
Fix breakage caused by r15861 and add a regression test.
Review URL: http://codereview.chromium.org/113278
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15872 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
96b9171280
Revert 15861 because of
...
File "D:\b\depot_tools\bootstrap\\..\gclient.py", line 446, in SubprocessCallAndCapture
out.write(in_byte)
TBR=nsylvain
Review URL: http://codereview.chromium.org/115244
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15862 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
e77173e573
Simplify some functions by removing the options.stdout mock. Fix the unit test accordingly.
...
Review URL: http://codereview.chromium.org/113272
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15861 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
11e0fd6997
Revert changes 15823 and 15824 because they broke gclient revert.
...
TBR=sgk
Review URL: http://codereview.chromium.org/115217
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15827 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
46b9ae6961
Starts reusing functions in gclient.py from gcl.py.
...
Review URL: http://codereview.chromium.org/113218
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15824 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
09b3ba2160
Cleanup gclient.py use of options where unnecessary.
...
Review URL: http://codereview.chromium.org/113216
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15823 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
fdafe3e2d1
Force depot_tools to be in the PATH before /usr/bin in cygwin.
...
Review URL: http://codereview.chromium.org/113208
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15767 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
18e4135ea7
Fix gcl under cygwin. Really ugly fix...
...
Review URL: http://codereview.chromium.org/113205
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15757 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
sverrir@chromium.org
f30a43845a
Fix a problem with gclient not being able to download tools such as svn.
...
It turns out that Shell.Application.NameSpace works with relative paths
on some systems only. This failed on my Windows 7 box.
Review URL: http://codereview.chromium.org/115184
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15754 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
thestig@chromium.org
8a62d5b229
Fix incorrect variable in LoadChangelistInfo and recognize directories properly in GenerateDiff.
...
Review URL: http://codereview.chromium.org/115179
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15753 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
2dc8a4d3d4
Change CaptureSVNInfo() to return a dictionary instead of a object.
...
Review URL: http://codereview.chromium.org/113086
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15750 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
25b438dea7
Fixing a label renaming that shouldn't have been checked-in!
...
TBR=bradnelson
Review URL: http://codereview.chromium.org/115098
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15567 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
9e378efba3
Don't reinstall *every* time. Just if the batch file doesn't exist.
...
Review URL: http://codereview.chromium.org/115085
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15546 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
69221c75e0
Set some batch files as executable.
...
Review URL: http://codereview.chromium.org/115064
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15503 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
b33bbcc0aa
Force the installation of python and svn on windows.
...
Review URL: http://codereview.chromium.org/115063
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15501 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
483b0089b6
Slowly start moving XML parsing function in gcl to glcient.
...
Review URL: http://codereview.chromium.org/115040
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15497 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
cf1e53b669
Fix the gclient trampoline on cygwin to redirect to the batch file.
...
TBR=bradnelson
Review URL: http://codereview.chromium.org/115061
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15496 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
714acb11d9
Don't run presubmit scripts when reverting.
...
Review URL: http://codereview.chromium.org/115053
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15485 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
a90bd59406
- Add change-svn-wc-format.py utility from http://svn.collab.net/repos/svn/trunk/tools/client-side/change-svn-wc-format.py
...
- Rename the thunk batch files so they don't get in the way.
- Add force flag support to win_tools.bat to override the behavior.
Review URL: http://codereview.chromium.org/109035
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15376 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
mal@chromium.org
61c5fdf4e3
Don't throw an exception for files with only property changes.
...
R= maruel
See also: http://codereview.chromium.org/99317
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15157 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
edd27d1770
- Add '!' and 'L' status support.
...
- Fix gclient revert/status when one of the dependency directory is deleted.
- Remove an unneeded svn update after svn checkout.
- Updated tests.
Review URL: http://codereview.chromium.org/100256
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15068 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
277003e224
Fix a presubmit.py breakage on python 2.4
...
Review URL: http://codereview.chromium.org/100220
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15044 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
d971f7f54b
Load hashlib when available and md5 otherwise.
...
Review URL: http://codereview.chromium.org/99235
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15043 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
662563545b
Add unzip.js instead of using 7za.exe. It greatly reduces the depot_tools.zip size.
...
Review URL: http://codereview.chromium.org/99233
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14970 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
e105d8d039
Pull gclient revision 72 and add the gclient unit test.
...
Review URL: http://codereview.chromium.org/99226
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14957 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
207fdf3647
Convert gcl.GetSVNFileInfo() to xml format.
...
Add gcl's first unit test.
Add version string.
Review URL: http://codereview.chromium.org/100095
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14771 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
6a6c9c3b05
Set svn:executable on hammer.
...
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14769 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
7c06bed108
Fix a typo in get_files.js. Also fix style.
...
TBR=skylined
Review URL: http://codereview.chromium.org/102004
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14760 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
c1675e27e6
Add an optional flag to gcl.ReadFile() so that presubmit can support CRLF PRESUBMIT.py scripts.
...
Also add a version number to gcl.py.
Review URL: http://codereview.chromium.org/99072
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14644 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
02e9e068f9
When I copied presubmit_unittest.py, I picked the old one. Fix with the latest version from the "old" depot_tools.
...
TBR=nsylvain
Review URL: http://codereview.chromium.org/100055
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14635 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
skylined@chromium.org
9af21a0070
Style guide compliance
...
Review URL: http://codereview.chromium.org/92150
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14466 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com
7e4bc468c6
Remove wget.exe and use a small javascript instead. Had issues with some AV...
...
Actually, the get_file.js code was written by B.J. I have no merit.
Review URL: http://codereview.chromium.org/93139
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14457 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com
820410ca10
Use the exec statement to fix the control flow.
...
TBR=nsylvain
Review URL: http://codereview.chromium.org/93110
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14404 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com
9b613270be
Fix gclient on posix platforms.
...
Grab the latest gcl.py and presubmit.py scripts.
TBR=nsylvain
Review URL: http://codereview.chromium.org/93108
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14403 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com
3380c1a484
Fix the windows auto update scripts.
...
TBR=nsylvain
Review URL: http://codereview.chromium.org/93106
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14400 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com
fb2b8eb2e2
Create the Next Generation of depot_tools. Eh.
...
Review URL: http://codereview.chromium.org/92087
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14349 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago