- 12 Aug, 2014 1 commit
-
-
scottmg@chromium.org authored
Previously https://codereview.chromium.org/284663003/, this was done manually. This script attempts to automates that manual process. R=iannucci@chromium.org BUG=402543 Review URL: https://codereview.chromium.org/462913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@288877 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Aug, 2014 1 commit
-
-
avakulenko@google.com authored
The only difference compared to upstream[1] is the shebang line from depot_tools. [1] https://code.google.com/p/google-styleguide/source/browse/trunk/cpplint/cpplint.py?r=136 BUG=None Review URL: https://codereview.chromium.org/460003003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@288783 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 Aug, 2014 2 commits
-
-
pgervais@chromium.org authored
Some options have words separated by underscores. Added options with same name and underscores replaced by hyphens. BUG=400953 Review URL: https://codereview.chromium.org/436963005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@288366 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
R=vadimsh@chromium.org BUG=366924 Review URL: https://codereview.chromium.org/450863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@288205 0039d316-1c4b-4281-b951-d872f2087c98
-
- 07 Aug, 2014 2 commits
-
-
dyen@chromium.org authored
R=iannucci@chromium.org BUG=None TEST=gclient sync with a relative and absolute "cache_dir" Review URL: https://codereview.chromium.org/415713002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@288146 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
If you're in a git checkout cloned from the git cache, this will: - Update the cache with the latest upstream commits. - Update the cwd with the latest commits from the cache. For example: > cd $HOME/workspace/chromium/src > git cache fetch R=agable@chromium.org,iannucci@chromium.org BUG= Review URL: https://codereview.chromium.org/440213005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@288140 0039d316-1c4b-4281-b951-d872f2087c98
-
- 06 Aug, 2014 2 commits
-
-
iannucci@chromium.org authored
R=agable@chromium.org BUG=366884 Review URL: https://codereview.chromium.org/358203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@287832 0039d316-1c4b-4281-b951-d872f2087c98
-
primiano@chromium.org authored
Original CL: https://codereview.chromium.org/440263002/ Many people* have complained on chromium-dev about the long times required to perform a full fetch over a DSL. This seems to be mostly due to the huge size of chromium's history (~9 GB). On the other side, not everybody is interested in downloading the full git history of the projects. The size of git packs required to fetch a working HEAD is one order of magnitude smaller (1.5 GB). This change makes it possible to perform a shallow fetch (in a way which is consistent with DEPS, leveraging git templates on clone), reducing fetch times by 80% for those not interested in the history. * See: [chromium-dev] "fetch chromium" keeps hanging/getting stuck on Windows 7 [chromium-dev] Initial checkout with git taking long [chromium-dev] Trying to get latest source code fails when fetching [chromium-dev] Gclient sync takes too long BUG=228996 TBR=iannucci@chromium.org,szager@chromium.org,wtc@chromium.org Review URL: https://codereview.chromium.org/440273002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@287793 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Aug, 2014 3 commits
-
-
primiano@chromium.org authored
Revert of Add --no-history option to fetch and gclient for shallow clones. (https://codereview.chromium.org/437903002/) Reason for revert: Broke the WebRTC waterfall: http://build.chromium.org/p/tryserver.webrtc/builders/win/builds/3958/steps/gclient%20revert/logs/stdio Original issue's description: > Add --no-history option to fetch and gclient for shallow clones. > > Many people* have complained on chromium-dev about the long times > required to perform a full fetch over a DSL. This seems to be mostly > due to the huge size of chromium's history (~9 GB). On the other side, > not everybody is interested in downloading the full git history of > the projects. The size of git packs required to fetch a working HEAD > is one order of magnitude smaller (1.5 GB). > This change makes it possible to perform a shallow fetch (in a way > which is consistent with DEPS, leveraging git templates on clone), > reducing fetch times by 80% for those not interested in the history. > > * See: > [chromium-dev] "fetch chromium" keeps hanging/getting stuck on Windows 7 > [chromium-dev] Initial checkout with git taking long > [chromium-dev] Trying to get latest source code fails when fetching > [chromium-dev] Gclient sync takes too long > > BUG=228996 > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=287606 TBR=iannucci@chromium.org,szager@chromium.org,wtc@chromium.org NOTREECHECKS=true NOTRY=true BUG=228996 Review URL: https://codereview.chromium.org/440263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@287637 0039d316-1c4b-4281-b951-d872f2087c98
-
jrobbins@chromium.org authored
BUG=339068 Review URL: https://codereview.chromium.org/442893003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@287615 0039d316-1c4b-4281-b951-d872f2087c98
-
primiano@chromium.org authored
Many people* have complained on chromium-dev about the long times required to perform a full fetch over a DSL. This seems to be mostly due to the huge size of chromium's history (~9 GB). On the other side, not everybody is interested in downloading the full git history of the projects. The size of git packs required to fetch a working HEAD is one order of magnitude smaller (1.5 GB). This change makes it possible to perform a shallow fetch (in a way which is consistent with DEPS, leveraging git templates on clone), reducing fetch times by 80% for those not interested in the history. * See: [chromium-dev] "fetch chromium" keeps hanging/getting stuck on Windows 7 [chromium-dev] Initial checkout with git taking long [chromium-dev] Trying to get latest source code fails when fetching [chromium-dev] Gclient sync takes too long BUG=228996 Review URL: https://codereview.chromium.org/437903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@287606 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 Aug, 2014 2 commits
-
-
szager@chromium.org authored
R=iannucci@chromium.org,hinoka@chromium.org,mark@chromium.org BUG= Review URL: https://codereview.chromium.org/431003002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@287057 0039d316-1c4b-4281-b951-d872f2087c98
-
rsesek@chromium.org authored
When using `git cl land` this would result in r<hash>, which is not desirable. R=maruel@chromium.org Review URL: https://codereview.chromium.org/432023003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@286931 0039d316-1c4b-4281-b951-d872f2087c98
-
- 31 Jul, 2014 1 commit
-
-
mark@chromium.org authored
This also fixes the confusing help message that appears when using “git cl dcommit” in a git project. “git cl push” was totally removed in abbaa843. Review URL: https://codereview.chromium.org/437593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@286835 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Jul, 2014 2 commits
-
-
smut@google.com authored
This extension uploads a fake cherry pick-style diff to rietveld with a modified project parameter. The modified project is intended to be used by the commit queue to attempt to land the change on a branch. This works by grabbing the parent of the targeted revision and generating the diff. It is intended to be used to CQ trivial cherry picks which apply cleanly on top of other branches without conflicts. BUG=387111 Review URL: https://codereview.chromium.org/397593004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@286273 0039d316-1c4b-4281-b951-d872f2087c98
-
sergeyberezin@chromium.org authored
This is a purely cosmetic CL. R=agable@chromium.org BUG=395196 Review URL: https://codereview.chromium.org/415903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@286230 0039d316-1c4b-4281-b951-d872f2087c98
-
- 28 Jul, 2014 5 commits
-
-
avakulenko@google.com authored
Added the ability to provide CPPLINT.cfg files to provide linter message filters per sub-directory and special exclusion rules. Each file can have instructions like: filter=-build/include_order,+build/include_alpha exclude_files=.*\.cc The above disables build/include_order warning and enables build/include_alpha as well as excludes all .cc from being processed by linter, in the current directory (where the .cfg file is located) and all sub-directories. Related CL: https://chromium-review.googlesource.com/#/c/209384/ BUG=chromium:395296 TEST=ran cpplint.py on a bunch of directories in platform2/ Review URL: https://codereview.chromium.org/406373002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@285999 0039d316-1c4b-4281-b951-d872f2087c98
-
dnj@chromium.org authored
Added the 'git-retry' bootstrap command. This can be used to wrap other 'git' commands around a fault-tolerant retry wrapper. BUG=295109 TEST=localtest R=iannucci@chromium.org, petermayo@chromium.org Review URL: https://codereview.chromium.org/401673003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@285939 0039d316-1c4b-4281-b951-d872f2087c98
-
scottmg@chromium.org authored
Sorry, I screwed up. This breaks Express-only per skia:2781. I'll reland it before I push the next VS update. > Add winrt to the INCLUDE directories of the toolchain bundler. > > The motivation is that vcvarsall sets it, and that it might make it possible to > land https://codereview.chromium.org/405723002/ one day. > > BUG=395405 > TBR=jochen > > Review URL: https://codereview.chromium.org/393233004 TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/424813003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@285924 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
This causes a network I/O, which is not fast. Also this is a non-starter in the case of no network connectivity, causing a crash instead of completing successfully. Until Air Canada provides on-flight internet, this is a non-starter. #firstworldproblem. Also fix git cl presubmit in case of lack of network connectivity. R=stip@chromium.org BUG= Review URL: https://codereview.chromium.org/418293004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@285911 0039d316-1c4b-4281-b951-d872f2087c98
-
treib@chromium.org authored
BUG=397508 Review URL: https://codereview.chromium.org/424733003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@285901 0039d316-1c4b-4281-b951-d872f2087c98
-
- 25 Jul, 2014 2 commits
-
-
pgervais@chromium.org authored
The user message says the subcommand will stop working on July 1. BUG= Review URL: https://codereview.chromium.org/396233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@285586 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
BUG=368673 R=iannucci@chromium.org,cmp@chromium.org Review URL: https://codereview.chromium.org/412403002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@285434 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Jul, 2014 1 commit
-
-
maruel@chromium.org authored
It serves no purpose, and it's annoying when the presubmit checks take more than 2-3 seconds because I always switch off to another window, so I come back minutes later seeing this prompt waiting for me. R=stip@chromium.org BUG= Review URL: https://codereview.chromium.org/407413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@285071 0039d316-1c4b-4281-b951-d872f2087c98
-
- 19 Jul, 2014 3 commits
-
-
thakis@chromium.org authored
The motivation is that vcvarsall sets it, and that it might make it possible to land https://codereview.chromium.org/405723002/ one day. BUG=395405 TBR=jochen Review URL: https://codereview.chromium.org/393233004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@284349 0039d316-1c4b-4281-b951-d872f2087c98
-
hinoka@chromium.org authored
Git cache sometimes fail on: Traceback (most recent call last): File "E:\b\depot_tools\\gclient.py", line 2064, in <module> sys.exit(Main(sys.argv[1:])) File "E:\b\depot_tools\\gclient.py", line 2052, in Main return dispatcher.execute(OptionParser(), argv) File "E:\b\depot_tools\subcommand.py", line 245, in execute return command(parser, args[1:]) File "E:\b\depot_tools\\gclient.py", line 1830, in CMDsync ret = client.RunOnDeps('update', args) File "E:\b\depot_tools\\gclient.py", line 1342, in RunOnDeps work_queue.flush(revision_overrides, command, args, options=self._options) File "E:\b\depot_tools\gclient_utils.py", line 852, in flush self._run_one_task(self.queued.pop(i), args, kwargs) File "E:\b\depot_tools\gclient_utils.py", line 944, in _run_one_task task_item.run(*args, **kwargs) File "E:\b\depot_tools\\gclient.py", line 744, in run file_list) File "E:\b\depot_tools\gclient_scm.py", line 160, in RunCommand return getattr(self, command)(options, args, file_list) File "E:\b\depot_tools\gclient_scm.py", line 387, in update self._UpdateMirror(mirror, options) File "E:\b\depot_tools\gclient_scm.py", line 802, in _UpdateMirror ignore_lock=options.ignore_locks) File "E:\b\depot_tools\git_cache.py", line 409, in populate os.rename(tempdir, self.mirror_path) WindowsError: [Error 183] Cannot create a file when that file already exists It would appear that its being racy, but otherwise it doesn't make any sense. A theory is that this could be running twice and stepping on each other. Allowing this to pass on OSError allows us to test this theory. BUG=395333 Review URL: https://codereview.chromium.org/408653002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@284272 0039d316-1c4b-4281-b951-d872f2087c98
-
agable@chromium.org authored
R=iannucci@chromium.org, primiano@chromium.org Review URL: https://codereview.chromium.org/404643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@284262 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Jul, 2014 1 commit
-
-
cmp@chromium.org authored
This will remove a Python 2.7 dependency from the tests. TBR=agable@chromium.org,iannucci@chromium.org Review URL: https://codereview.chromium.org/399223002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@283834 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Jul, 2014 1 commit
-
-
cmp@chromium.org authored
Also cast recursedeps to a set. We'll continue to support using a list literal form in DEPS for now. R=iannucci@chromium.org,agable@chromium.org BUG=393000 Review URL: https://codereview.chromium.org/385123008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@283474 0039d316-1c4b-4281-b951-d872f2087c98
-
- 15 Jul, 2014 1 commit
-
-
liamjm@chromium.org authored
This allows Googlers who didn't pass existing checks to use G storage and the Pro version of Visual studio. BUG= TBR=maruel Review URL: https://codereview.chromium.org/382373002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@283250 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 Jul, 2014 2 commits
-
-
iannucci@chromium.org authored
Thus solving the sh.exe problem once and for all... R=hinoka@google.com, hinoka@chromium.org BUG=383455, 241556, 389361, 380958 Review URL: https://codereview.chromium.org/372413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@281844 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
This includes the new (fast) custom sh.exe/bash.exe/msys-1.0.dll. R=hinoka@google.com, hinoka@chromium.org BUG=383455,241556,389361,380958 Review URL: https://codereview.chromium.org/364133003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@281645 0039d316-1c4b-4281-b951-d872f2087c98
-
- 07 Jul, 2014 4 commits
-
-
smut@google.com authored
Revert of Consolidated 'git' refish parsing into a class (https://codereview.chromium.org/328843005/) Reason for revert: https://code.google.com/p/chromium/issues/detail?id=391871 Original issue's description: > Consolidated 'git' refish parsing into a class > > Created the 'GitRefish' class to centralize 'git' refish parsing and consistent > usage by 'gclient' 'git' code. > > BUG=373504 > TEST=localtest > R=agable@chromium.org, iannucci@chromium.org > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=281553 TBR=dnj BUG=391871 Review URL: https://codereview.chromium.org/370393002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@281572 0039d316-1c4b-4281-b951-d872f2087c98
-
dnj@chromium.org authored
Created the 'GitRefish' class to centralize 'git' refish parsing and consistent usage by 'gclient' 'git' code. BUG=373504 TEST=localtest R=agable@chromium.org, iannucci@chromium.org Review URL: https://codereview.chromium.org/328843005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@281553 0039d316-1c4b-4281-b951-d872f2087c98
-
bratell@opera.com authored
Revert of Allow git cl also in repos with read-only git-svn. (https://codereview.chromium.org/344013005/) Reason for revert: Breaks WebRTC (and possibly other projects actually using https:// for svn access). Original issue's description: > Allow git cl also in repos with read-only git-svn. > > If you have read-only git-svn git cl would still try > to use svn commands, which would then fail. This > changes git cl to only use git-svn if the remote > svn repository use the svn:// protocol. It matches > how chromium works and it allowed me to upload a patch. > > BUG=391430 > > R=iannucci > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=281500 TBR=iannucci@chromium.org NOTREECHECKS=true NOTRY=true BUG=391430 Review URL: https://codereview.chromium.org/375553002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@281513 0039d316-1c4b-4281-b951-d872f2087c98
-
bratell@opera.com authored
If you have read-only git-svn git cl would still try to use svn commands, which would then fail. This changes git cl to only use git-svn if the remote svn repository use the svn:// protocol. It matches how chromium works and it allowed me to upload a patch. BUG=391430 R=iannucci Review URL: https://codereview.chromium.org/344013005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@281500 0039d316-1c4b-4281-b951-d872f2087c98
-
- 02 Jul, 2014 3 commits
-
-
cmp@chromium.org authored
Now that recurselist is no longer a list, it doesn't make sense to call it recurselist. recurseset is available, but that's not as easy to read/say compared to recurselist. Call this recursedeps, instead. R=iannucci@chromium.org BUG=390246 Review URL: https://codereview.chromium.org/363103002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@281107 0039d316-1c4b-4281-b951-d872f2087c98
-
jochen@chromium.org authored
BUG=none R=brettw@chromium.org,nick@chromium.org Review URL: https://codereview.chromium.org/356733002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@280971 0039d316-1c4b-4281-b951-d872f2087c98
-
cmp@chromium.org authored
It's possible to tell gclient to use a different "deps" file from the default DEPS through the "deps_file" variable in the .gclient file. If this file is missing, fallback to DEPS (the default). BUG=390700 Review URL: https://codereview.chromium.org/368713002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@280921 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 Jul, 2014 1 commit
-
-
hinoka@chromium.org authored
We changed apply_issue to stage the patch if its on git, so it doesn't make sense to pass in --revision because that causes gclient to run solutions in managed mode. BUG=388374 Review URL: https://codereview.chromium.org/359443003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@280855 0039d316-1c4b-4281-b951-d872f2087c98
-