- 02 Sep, 2010 6 commits
-
-
jochen@chromium.org authored
BUG=54238 TEST=GClientSmoke.testWrongConfig Review URL: http://codereview.chromium.org/3300007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@58371 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
This reverts commit 58352. TBR=jochen BUG=breaks build bots Review URL: http://codereview.chromium.org/3334005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@58355 0039d316-1c4b-4281-b951-d872f2087c98
-
jochen@chromium.org authored
BUG=54240 TEST=none Review URL: http://codereview.chromium.org/3345003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@58353 0039d316-1c4b-4281-b951-d872f2087c98
-
jochen@chromium.org authored
BUG=54238 TEST=GClientSmoke.testWrongConfig Review URL: http://codereview.chromium.org/3304007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@58352 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Needed to fix a few function calls to make it work. BUG=54084 TEST=unit tests Review URL: http://codereview.chromium.org/3303004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@58287 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/3331004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@58286 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 Sep, 2010 4 commits
-
-
thestig@chromium.org authored
BUG=none TEST=gcl upload works when there's no codereview.settings in the cache. Review URL: http://codereview.chromium.org/3366001 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@58270 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
BUG=54084 TEST=unit tests Review URL: http://codereview.chromium.org/3338003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@58214 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Simplify code by removing fail_status Rename print_messages to always Simplify the doc. Review URL: http://codereview.chromium.org/3104036 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@58201 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
TEST=none BUG=none Review URL: http://codereview.chromium.org/3328002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@58200 0039d316-1c4b-4281-b951-d872f2087c98
-
- 31 Aug, 2010 1 commit
-
-
maruel@chromium.org authored
It must always be present. BUG=none TBR=none Review URL: http://codereview.chromium.org/3280013 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@58060 0039d316-1c4b-4281-b951-d872f2087c98
-
- 26 Aug, 2010 2 commits
-
-
bradnelson@google.com authored
BUG=None TEST=None Review URL: http://codereview.chromium.org/3184024 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@57447 0039d316-1c4b-4281-b951-d872f2087c98
-
bradnelson@google.com authored
BUG=None TEST=None Review URL: http://codereview.chromium.org/3107038 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@57438 0039d316-1c4b-4281-b951-d872f2087c98
-
- 25 Aug, 2010 2 commits
-
-
maruel@chromium.org authored
It's broken on 10.5.2. TEST=gcl works all the time on Mac TBR=nsylvain Review URL: http://codereview.chromium.org/3169044 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@57381 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
This way the function is much more similar to subprocess.call(). Further changes will be done, to be able to convert all the function, to be able to parallelize output without corrupting it. Used pylint to verify call graph correctness, causing some other unrelated changes. TEST=unit tests BUG=none Review URL: http://codereview.chromium.org/3117039 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@57369 0039d316-1c4b-4281-b951-d872f2087c98
-
- 24 Aug, 2010 1 commit
-
-
maruel@chromium.org authored
It contradicts the previous changes to enforce codereview.settings. TEST=new unit test BUG=none Review URL: http://codereview.chromium.org/3171026 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@57195 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Aug, 2010 3 commits
-
-
maruel@chromium.org authored
It will eventually replace 'print_messages' and be used to annotate printed lines when using --jobs. Review URL: http://codereview.chromium.org/3174020 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@57092 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Original Description: Remove code duplication and improve style. Create a Popen function to reduce code duplication. Use RemoveDirectory where relevant. Make drover slightly more posix friendly. Review URL: http://codereview.chromium.org/3199011 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@57083 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Improve gclient_utils to test output lacking trailing LF BUG=none TEST=new unit tests Review URL: http://codereview.chromium.org/3140023 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@57047 0039d316-1c4b-4281-b951-d872f2087c98
-
- 22 Aug, 2010 1 commit
-
-
maruel@chromium.org authored
TBR=bradnelson Review URL: http://codereview.chromium.org/3110030 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@57010 0039d316-1c4b-4281-b951-d872f2087c98
-
- 20 Aug, 2010 3 commits
-
-
maruel@chromium.org authored
This reverts commit 850ee065. git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56894 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Create a Popen function to reduce code duplication. Use RemoveDirectory where relevant. Make drover slightly more posix friendly. Review URL: http://codereview.chromium.org/3126020 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56893 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
TBR=bradnelson Review URL: http://codereview.chromium.org/3201005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56880 0039d316-1c4b-4281-b951-d872f2087c98
-
- 19 Aug, 2010 4 commits
-
-
kbr@chromium.org authored
gclient pack because of spurious EOL-only changes seen on Linux. BUG=none TEST=ran gclient pack in Chromium repository and verified output manually Review URL: http://codereview.chromium.org/3189010 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56710 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
The svn server fails often, causing codereview.settings not being fetched. When no valid cached credential is found, codereview.settings wouldn't be fetched either. Enforce LANGUAGE=en for odd systems like mine. TEST=gcl should act better with unstable svn server or invalid cached credentials BUG=none Review URL: http://codereview.chromium.org/3111016 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56700 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/3156034 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56699 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
svn's client uses a different error format for HTTP 502 and I didn't recall how the string was formatted. Luckily enough googlecode fails often enough it wasn't long for me to reproduce the issue. :) TBR=bradnelson Review URL: http://codereview.chromium.org/3143030 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56675 0039d316-1c4b-4281-b951-d872f2087c98
-
- 18 Aug, 2010 3 commits
-
-
maruel@chromium.org authored
That makes --force less necessary. Review URL: http://codereview.chromium.org/3160026 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56581 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
BUG=chromium-os:5305 TEST=gclient sync should be much more resistent Review URL: http://codereview.chromium.org/3132021 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56565 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Otherwise, if someone flush svn:ignore in src/third_part by error and that causes a lot of files to be deleted, buildbot may hang while waiting for output. BUG=Previous behavior killed the win try slaves. TEST=smoke tests Review URL: http://codereview.chromium.org/3171015 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56541 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Aug, 2010 3 commits
-
-
maruel@chromium.org authored
Use svn up --force if -m or -f is used. Renamed AddAdditionalFlags to _AddAdditionalUpdateFlags to be clearer about its purpose. Strings cleanup. With this change, it becomes more manageable to use -m on the continuous build. Review URL: http://codereview.chromium.org/3185006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56394 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
TEST=Run with LANGUAGE=fr_CA, gclient still works. Review URL: http://codereview.chromium.org/3192001 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56354 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
gclient_scm_test is really flaky and is a pain to maintain. gclient_scm.py coverage is good enough with gclient_smokte_test. TBR=chase Review URL: http://codereview.chromium.org/3155024 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56351 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Aug, 2010 4 commits
-
-
chase@chromium.org authored
Speed up flushing of output on platforms that may not flush as often as we expect (like Windows). Wait at least 10s between flushes to avoid overloading busy readers. BUG=none TEST=gclient flushes on Windows more often, regular gclient operations continue to work as expected Review URL: http://codereview.chromium.org/3140013 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56217 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
This is towards cleaning up the mess with 'options' in gclient_scm.py. Review URL: http://codereview.chromium.org/3106014 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56213 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Needed to use the special 3 args raise notation. Review URL: http://codereview.chromium.org/3164014 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56209 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56208 0039d316-1c4b-4281-b951-d872f2087c98
-
- 13 Aug, 2010 2 commits
-
-
maruel@chromium.org authored
Huge thanks to piman@ for working on a patch. I chose a different design but he gave me motivation and ideas. Sorry for not accepting his patch earlier, this was mostly due to broken gclient implementation itself. gclient can now run an unlimited number of parallel checkouts and always keep the checkout coherency correct. --jobs=1 is single threaded as before, albeit with a different code path. Issues: - Using --jobs with a value other than 1 will result in a mangled output. - Exceptions thrown in a thread will be have the wrong stack trace. TEST=gclient sync -j 99 in a ssh:// chromiumos checkout is dramatically faster. --- Here's the perf on linux on i7-860 for a chromium checkout with warm cache. Cold cache will result is significantly reduced improvements so this is best case improvements. The sync was no-op all the time except where noted. All execution where with "time gclient sync " + args. Didn't include 'sys' column since it was statistically insignifiant and highly correlated with 'user'. runs with -f runs with -m without -f nor -m args real user real user real user -j 12 20.59s 18.00s 5.64s 7.95s 5.86s 8.10s #1 1m05.26s 20.02s 5.20s 7.94s 5.10s 8.09s 22.79s 18.17s -j 1 #2 1m47.00s 16.72s 9.69s 5.72s 12.35s 5.96s 1m31.28s 17.06s 9.54s 5.85s 10.51s 6.20s 1m31.79s 16.39s before #3 1m30.94s 16.74s 9.77s 5.83s 10.45s 5.77s 1m30.17s 17.30s 10.36s 5.68s 10.16s 5.88s hook #4 8.52s 7.93s 8.73s 8.13s #1 This particular run synched to r56023, a webkit roll updating layout tests. It's still faster than a no-op sync without parallel checkout. #2 Maybe there was a sync or computer hickup, I didn't realize. #3 This is depot_tools@56020 #4 Since -f implies runhooks, I ran the hook 'python src/build/gyp_chromium' manually to compare. Hooks are still run in a single thread. I didn't rest 'gclient runhooks'. I tried to go a ssh:// checkout of chromium os tree but it timed out everytime I tried to sync so I couldn't get data points. I expect an order of magnitude of improvement or more. Review URL: http://codereview.chromium.org/3135014 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56079 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/3107009 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56020 0039d316-1c4b-4281-b951-d872f2087c98
-
- 12 Aug, 2010 1 commit
-
-
maruel@chromium.org authored
I've never known why there were added in the first place Review URL: http://codereview.chromium.org/3155008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@55896 0039d316-1c4b-4281-b951-d872f2087c98
-