skylined@chromium.org
df0032c057
Add code to handle errors in .gclient configuration files and output human readble information rather than a raw exception stack.
...
Review URL: http://codereview.chromium.org/113968
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17179 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
672343d7f4
Fix the print_error parsing, which caused spurious errors on gcl usage.
...
Review URL: http://codereview.chromium.org/113656
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@16513 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
1998c6d137
Raise an human readable exception if an unversioned directory exists.
...
Review URL: http://codereview.chromium.org/115354
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@16156 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
2806acc58c
Remove two seams options.gclient and options.scm_wrapper in gclient.
...
Review URL: http://codereview.chromium.org/115322
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@16155 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
0329e67bae
Remove the options.path_exists which only existed as a seam. It's not really needed in python.
...
Also fix 2 other mocks.
Review URL: http://codereview.chromium.org/115286
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15976 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
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
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
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
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
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
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
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
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
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@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