- 06 Sep, 2014 1 commit
-
-
mmoss@chromium.org authored
TBR=iannucci@chromium.org Review URL: https://codereview.chromium.org/549643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291840 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Sep, 2014 5 commits
-
-
thakis@chromium.org authored
BUG= TBR=iannucci Review URL: https://codereview.chromium.org/549613002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291835 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
For me, PATH was a unicode instead of a str for some reason, so things failed with D:\src\chromefetch\src>git cl format Traceback (most recent call last): File "d:\src\depot_tools\git_cl.py", line 2821, in <module> sys.exit(main(sys.argv[1:])) File "d:\src\depot_tools\git_cl.py", line 2807, in main return dispatcher.execute(OptionParser(), argv) File "d:\src\depot_tools\subcommand.py", line 245, in execute return command(parser, args[1:]) File "d:\src\depot_tools\git_cl.py", line 2768, in CMDformat stdout = RunCommand(cmd, stdin=diff_output, cwd=top_dir, env=env) File "d:\src\depot_tools\git_cl.py", line 81, in RunCommand return subprocess2.check_output(args, shell=False, **kwargs) File "d:\src\depot_tools\subprocess2.py", line 515, in check_output return check_call_out(args, stdout=PIPE, **kwargs)[0] File "d:\src\depot_tools\subprocess2.py", line 475, in check_call_out out, returncode = communicate(args, **kwargs) File "d:\src\depot_tools\subprocess2.py", line 449, in communicate proc = Popen(args, **kwargs) File "d:\src\depot_tools\subprocess2.py", line 237, in __init__ super(Popen, self).__init__(args, **kwargs) File "d:\src\depot_tools\python276_bin\lib\subprocess.py", line 709, in __init__ errread, errwrite) File "d:\src\depot_tools\python276_bin\lib\subprocess.py", line 957, in _execute_child startupinfo) TypeError: environment can only contain strings Sending crash report ... args: ['d:\\src\\depot_tools\\git_cl.py', 'format'] cwd: D:\src\chromefetch\src exception: environment can only contain strings host: THAKIS1-W.ad.corp.google.com stack: File "d:\src\depot_tools\git_cl.py", line 2821, user: thakis version: 2.7.6 (default, Nov 10 2013, 19:24:18) This fixes the glitch. Review URL: https://codereview.chromium.org/545333002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291825 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
R=agable@chromium.org, mmoss@chromium.org BUG= Review URL: https://codereview.chromium.org/549513002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291823 0039d316-1c4b-4281-b951-d872f2087c98
-
kjellander@chromium.org authored
In https://codereview.chromium.org/341533006/ a change was made so that gn.py is not looking for the .gn file to identify the root of the checkout. This breaks GN functionality for projects that uses gclient but have a top directory named something else than 'src'. This change adds support for arbitrarily named primary (the first) solutions in the .gclient file. It also adds a check for the generated GN path so a friendly error message can be printed if the GN executable cannot be found. BUG=389883 TESTED=Various cases of Chromium, WebRTC and custom checkouts with .gclient containing empty solution list, solution missing the 'name' key and so on. Review URL: https://codereview.chromium.org/538393002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291819 0039d316-1c4b-4281-b951-d872f2087c98
-
hinoka@chromium.org authored
So the original intention of moving it to a different directory to be deleted later was to (1) save it for diagnosis (2) be a single inode swap rather than a long rmtree delete. 1. No one is actually looking at these directories 2. The tmpdir sometimes end up on a different partition, so it ends up being a copy + delete instead. Since we're not getting timeouts from that, its probably actually better to just straight up delete it. BUG=410727 Review URL: https://codereview.chromium.org/538993002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291818 0039d316-1c4b-4281-b951-d872f2087c98
-
- 04 Sep, 2014 1 commit
-
-
piman@chromium.org authored
BUG=410125 Review URL: https://codereview.chromium.org/543463002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291794 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Sep, 2014 2 commits
-
-
luqui@chromium.org authored
BUG=407316 Review URL: https://codereview.chromium.org/521033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291777 0039d316-1c4b-4281-b951-d872f2087c98
-
calamity@chromium.org authored
This CL adds information to the git map-branches command. Invoking it map-branches with -v, will show tracking status of branches and invoking with -vv will additionally show the Rietveld URL and the branch hash. BUG=None Review URL: https://codereview.chromium.org/509843002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291776 0039d316-1c4b-4281-b951-d872f2087c98
-
- 02 Sep, 2014 1 commit
-
-
dnj@chromium.org authored
Updated 'git-number' to produce an error message if it's run without the CHROME_HEADLESS (bot) environment variable. This is intended to alert developers who may be incorrectly using this tool to get positioning information instead of the commit position. BUG=409917 TEST=local - Ran with and without 'CHROME_HEADLESS'; observed the error message in the 'without' case. R=iannucci@chromium.org Review URL: https://codereview.chromium.org/534703002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291773 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Aug, 2014 6 commits
-
-
iannucci@chromium.org authored
R=agable@chromium.org, vadimsh@chromium.org BUG= Review URL: https://codereview.chromium.org/526523002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291751 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/520053003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291748 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
R=dnj@chromium.org, vadimsh@chromium.org BUG=409170 Review URL: https://codereview.chromium.org/523113003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291745 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
R=agable@chromium.org, dnj@chromium.org, vadimsh@chromium.org BUG=409167 Review URL: https://codereview.chromium.org/521583008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291744 0039d316-1c4b-4281-b951-d872f2087c98
-
borenet@google.com authored
This conforms to the convention of using a single-line short description followed by an empty line followed by a long description. Shortened the revisions to more easily fit on one line. BUG=408700 Review URL: https://codereview.chromium.org/513383002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291743 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
R=vadimsh@chromium.org BUG=406198 Review URL: https://codereview.chromium.org/519563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291719 0039d316-1c4b-4281-b951-d872f2087c98
-
- 28 Aug, 2014 2 commits
-
-
philipj@opera.com authored
With the deletion of .DEPS.git, 'webkit_rev' became 'webkit_revision': https://codereview.chromium.org/497313003 Without this change, gclient sync will not get the latest Blink commit. Review URL: https://codereview.chromium.org/496443005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291716 0039d316-1c4b-4281-b951-d872f2087c98
-
asanka@chromium.org authored
Currently git-nav-downstream invokes 'git checkout' in a subprocess, but exits without waiting for the checkout to complete. Instead wait for the subprocess to complete. BUG=376101 Review URL: https://codereview.chromium.org/509163002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291701 0039d316-1c4b-4281-b951-d872f2087c98
-
- 27 Aug, 2014 2 commits
-
-
rmistry@google.com authored
Context is here: https://groups.google.com/a/chromium.org/d/msg/chromium-dev/M7f9VTqrR8w/RECOX2Y5YasJ Review URL: https://codereview.chromium.org/513763002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291687 0039d316-1c4b-4281-b951-d872f2087c98
-
hinoka@chromium.org authored
Also added a tiny bit of exponential backoff. BUG=375479 Review URL: https://codereview.chromium.org/350433003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291682 0039d316-1c4b-4281-b951-d872f2087c98
-
- 26 Aug, 2014 2 commits
-
-
mmoss@chromium.org authored
This is breaking the ability to specify an alternate DEPS file, and do things like sync release tags where DEPS is still from svn and we need .DEPS.git to do a git checkout. R=iannucci@chromium.org, szager@chromium.org BUG=407049 Review URL: https://codereview.chromium.org/511533003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291665 0039d316-1c4b-4281-b951-d872f2087c98
-
vadimsh@chromium.org authored
Also reduce number of attempts and give up right away on ACL errors. R=iannucci@chromium.org BUG=407369,407470 Review URL: https://codereview.chromium.org/512493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291656 0039d316-1c4b-4281-b951-d872f2087c98
-
- 25 Aug, 2014 4 commits
-
-
mmoss@chromium.org authored
BUG=407284 R=iannucci@google.com Review URL: https://codereview.chromium.org/507513002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291619 0039d316-1c4b-4281-b951-d872f2087c98
-
agable@chromium.org authored
R=iannucci@chromium.org Review URL: https://codereview.chromium.org/504933003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291613 0039d316-1c4b-4281-b951-d872f2087c98
-
dnj@chromium.org authored
BUG=407259 TEST=None Review URL: https://codereview.chromium.org/462363004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291609 0039d316-1c4b-4281-b951-d872f2087c98
-
avakulenko@google.com authored
Implements 'linelength' option in CPPLINT.cfg. See: https://code.google.com/p/google-styleguide/source/browse/trunk/cpplint/cpplint.py?r=137 BUG=None TEST=None Change-Id: I7b017078d997dfafc524a2f50a32289391d011f9 Review URL: https://codereview.chromium.org/495413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291601 0039d316-1c4b-4281-b951-d872f2087c98
-
- 24 Aug, 2014 6 commits
-
-
szager@chromium.org authored
R=agable@chromium.org,cmp@chromium.org BUG= Review URL: https://codereview.chromium.org/500903003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291592 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
TBR=cmp@chromium.org,agable@chromium.org BUG= Review URL: https://codereview.chromium.org/498043002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291591 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
BUG=406669 R=dnj@chromium.org,agable@chromium.org Review URL: https://codereview.chromium.org/500903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291590 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
BUG=406880 R=iannucci@chromium.org,cmp@chromium.org Review URL: https://codereview.chromium.org/498023002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291589 0039d316-1c4b-4281-b951-d872f2087c98
-
hinoka@chromium.org authored
Seems like some combination of things (bad cache dir, shallow checkout, etc) causes git cache to not clean up properly before trying to move new directory A into already existing directory B. So the logic is all there to detect that the cache is invalid, its just not being cleaned up properly during shallow checkouts. BUG=406864 TBR=iannucci Review URL: https://codereview.chromium.org/499123002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291587 0039d316-1c4b-4281-b951-d872f2087c98
-
mmoss@chromium.org authored
This updates various assumptions to coincide with how gclient fetches branch-heads refs from chromium repos. R=iannucci@google.com BUG=406858 Review URL: https://codereview.chromium.org/498013002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291586 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Aug, 2014 6 commits
-
-
iannucci@chromium.org authored
R=szager@chromium.org BUG= Review URL: https://codereview.chromium.org/497333003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291574 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
R=cmp@chromium.org, dnj@chromium.org, iannucci@chromium.org BUG= Review URL: https://codereview.chromium.org/499003002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291573 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
R=cmp@chromium.org, agable@chromium.org BUG= Review URL: https://codereview.chromium.org/468253003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291571 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
BUG=406662 R=cmp@chromium.org, agable@chromium.org Review URL: https://codereview.chromium.org/469073004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291569 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
TBR=iannucci@chromium.org,stip@chromium.org Review URL: https://codereview.chromium.org/503563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291567 0039d316-1c4b-4281-b951-d872f2087c98
-
agable@chromium.org authored
DO NOT LAND until Flag Day. R=stip@chromium.org BUG=406165 Review URL: https://codereview.chromium.org/494993006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291565 0039d316-1c4b-4281-b951-d872f2087c98
-
- 22 Aug, 2014 2 commits
-
-
vadimsh@chromium.org authored
BUG=406636 R=stip@chromium.org Review URL: https://codereview.chromium.org/497293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291561 0039d316-1c4b-4281-b951-d872f2087c98
-
jam@chromium.org authored
This is broken for a few reasons (see bug for details). Also, this works automatically now with the analyze step. This is a revert of r280039. BUG=406238 R=iannucci@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/501503002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291526 0039d316-1c4b-4281-b951-d872f2087c98
-