- 12 Nov, 2015 2 commits
-
-
iannucci@chromium.org authored
Revert of git_cl/gclient: use python2 (patchset #3 id:40001 of https://codereview.chromium.org/1437773002/ ) Reason for revert: breaks git-bash on windows Original issue's description: > git_cl/gclient: use python2 > > Newer distros are defaulting /usr/bin/python to python3, so use python2 > explicitly so we continue working. > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=297535 TBR=stip@chromium.org,sergeyberezin@chromium.org,vapier@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1442583004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297544 0039d316-1c4b-4281-b951-d872f2087c98
-
vapier@chromium.org authored
Newer distros are defaulting /usr/bin/python to python3, so use python2 explicitly so we continue working. Review URL: https://codereview.chromium.org/1437773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297535 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 Jun, 2015 1 commit
-
-
sbc@chromium.org authored
Allows the command line itself to be distinguished from the surrounding error message. Review URL: https://codereview.chromium.org/1152443004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295481 0039d316-1c4b-4281-b951-d872f2087c98
-
- 26 May, 2015 1 commit
-
-
maruel@chromium.org authored
Subversion usage is going away, tests get the kick first. R=iannucci@chromium.org BUG=475320 Review URL: https://codereview.chromium.org/1158043003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295411 0039d316-1c4b-4281-b951-d872f2087c98
-
- 27 Apr, 2015 1 commit
-
-
sergiyb@google.com authored
R=akuegel@chromium.org,pgervais@chromium.org BUG=477454 Review URL: https://codereview.chromium.org/1099143002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295007 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Feb, 2015 1 commit
-
-
primiano@chromium.org authored
Reland crrev.com/743083002, which was reverted in crrev.com/796053002 due to some test flakiness, probably related with an old version of Git on the bots. Relanding now that the infra has been updated to Trusty (plus adding some de-flake precautions). Original CL Description: Make gclient ready for the Blink (DEPS to main project) transition This CL makes gclient understand correctly whether a git project is being moved from DEPS to an upper project and vice-versa. The driving use case for this is the upcoming Blink merge, where third_party/Webkit will be removed from DEPS (and .gitignore) and will become part of the main project. At present state, gclient leaves the .git folder around when a project is removed from DEPS, and that causes many problems. Furthermore this CL solves the performance problem of bisecting across the merge point. The subproject's (Blink) .git/ folder is moved to a backup location (in the main checkout root) and is restored when moving backwards, avoiding a re-fetch when bisecting across the merge point. BUG=431469 Review URL: https://codereview.chromium.org/910913003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294082 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Dec, 2014 2 commits
-
-
primiano@chromium.org authored
Revert of Make gclient ready for the Blink (DEPS to main project) transition (patchset #6 id:180001 of https://codereview.chromium.org/743083002/) Reason for revert: The test intoruced is flake (see crrev.com/753543006/). Need to look into that with more patience as it reproduces only on precise. Original issue's description: > Make gclient ready for the Blink (DEPS to main project) transition > > This CL makes gclient understand correctly whether a git project is > being moved from DEPS to an upper project and vice-versa. > The driving use case for this is the upcoming Blink merge, where > third_party/Webkit will be removed from DEPS (and .gitignore) and will > become part of the main project. > > At present state, gclient leaves the .git folder around when a project > is removed from DEPS, and that causes many problems. > > Furthermore this CL solves the performance problem of bisecting across > the merge point. The subproject's (Blink) .git/ folder is moved to a > backup location (in the main checkout root) and is restored when moving > backwards, avoiding a re-fetch when bisecting across the merge point. > > BUG=431469 > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=293329 TBR=iannucci@chromium.org,maruel@chromium.org,jochen@chromium.org NOTREECHECKS=true NOTRY=true BUG=431469 Review URL: https://codereview.chromium.org/796053002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293352 0039d316-1c4b-4281-b951-d872f2087c98
-
sbc@chromium.org authored
I ran into several failures running the presubmit checks on my Ubuntu/Trusty laptop and it looks like a some of the tests were broken by recent versions of svn and git. Review URL: https://codereview.chromium.org/795723003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293341 0039d316-1c4b-4281-b951-d872f2087c98
-
- 10 Dec, 2014 1 commit
-
-
primiano@chromium.org authored
This CL makes gclient understand correctly whether a git project is being moved from DEPS to an upper project and vice-versa. The driving use case for this is the upcoming Blink merge, where third_party/Webkit will be removed from DEPS (and .gitignore) and will become part of the main project. At present state, gclient leaves the .git folder around when a project is removed from DEPS, and that causes many problems. Furthermore this CL solves the performance problem of bisecting across the merge point. The subproject's (Blink) .git/ folder is moved to a backup location (in the main checkout root) and is restored when moving backwards, avoiding a re-fetch when bisecting across the merge point. BUG=431469 Review URL: https://codereview.chromium.org/743083002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293329 0039d316-1c4b-4281-b951-d872f2087c98
-
- 06 Aug, 2014 1 commit
-
-
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 2 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
-
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
-
- 02 Jul, 2014 1 commit
-
-
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
-
- 07 May, 2014 1 commit
-
-
borenet@google.com authored
Followup to https://codereview.chromium.org/189913020/ ("gclient: print a warning if a dep would get deleted or moved in the future") BUG=skia:1638 Review URL: https://codereview.chromium.org/225403015 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@268944 0039d316-1c4b-4281-b951-d872f2087c98
-
- 09 Apr, 2014 1 commit
-
-
borenet@google.com authored
BUG=skia:1638 Review URL: https://codereview.chromium.org/189913020 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@262761 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 Apr, 2014 1 commit
-
-
szager@chromium.org authored
Features: - Non-verbose output is now limited to a one-line progress indicator. - Verbose output is now collated per subprocess. As soon as a subprocess finishes, its full output is dumped to terminal. - Verbose output is prefixed with timestamps representing elapsed time since the beginning of the gclient invocation. - git progress indicators ("Receiving objects", etc.) are limited to one line every 10 seconds. - In both verbose and non-verbose mode, if a failure occurs, the full output of the failed update operation is dumped to terminal just before exit. - In the event that updates are progressing, but slowly, "Still working" messages will be printed periodically, to pacify users and buildbots. BUG= R=hinoka@google.com Review URL: https://codereview.chromium.org/227163002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@262500 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 Apr, 2014 1 commit
-
-
agable@chromium.org authored
This causes git commands to be completely silent (they don't even print ______ running 'git foo bar') if the git command itself is completely silent. This mirrors the behavior of SVN commands. This is useful for commands like 'gclient diff', which should print no output at all if there is no diff. R=szager@chromium.org, vadimsh@chromium.org Review URL: https://codereview.chromium.org/218993009 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@260758 0039d316-1c4b-4281-b951-d872f2087c98
-
- 10 Mar, 2014 2 commits
-
-
thakis@chromium.org authored
Revert of Another attempt: gclient: delete mismatching checkouts (https://codereview.chromium.org/183283003/) Reason for revert: Broke `gclient sync` for me, failing with: Error: 1> Can't update/checkout /Volumes/MacintoshHD2/src/chrome-git/src if an unversioned directory is present. Delete the directory and try again. For someone else, it broke it with: % gclient sync ________ unmanaged solution; skipping src Error: Command svn info --xml returned non-zero exit status 1 in /Users/pawliger/chromium/src/. <?xml version="1.0" encoding="UTF-8"?> <info> svn: E155007: '/Users/pawliger/chromium/src' is not a working copy Original issue's description: > Another attempt: gclient: delete mismatching checkouts > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=255930 TBR=iannucci@chromium.org,szager@chromium.org,maruel@chromium.org,mmoss@chromium.org,borenet@google.com NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/192323006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@256005 0039d316-1c4b-4281-b951-d872f2087c98
-
borenet@google.com authored
Review URL: https://codereview.chromium.org/183283003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@255930 0039d316-1c4b-4281-b951-d872f2087c98
-
- 26 Feb, 2014 2 commits
-
-
szager@chromium.org authored
This reverts commit 6ff54485. 'fetch --nohooks chromium' is broken with this change. BUG= Review URL: https://codereview.chromium.org/177003023 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@253640 0039d316-1c4b-4281-b951-d872f2087c98
-
borenet@google.com authored
Review URL: https://codereview.chromium.org/164053003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@253616 0039d316-1c4b-4281-b951-d872f2087c98
-
- 20 Feb, 2014 1 commit
-
-
iannucci@chromium.org authored
One line for the fix, 30 lines for the test :) R=kbr@chromium.org, mmoss@chromium.org, stip@chromium.org, szager@chromium.org BUG=345073 Review URL: https://codereview.chromium.org/165443004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@252138 0039d316-1c4b-4281-b951-d872f2087c98
-
- 13 Feb, 2014 2 commits
-
-
mmoss@chromium.org authored
> Re-reland r245404 ("If the destination directory doesn't contain the desired repo, delete it") > > BUG= > > Review URL: https://codereview.chromium.org/133073015 TBR=borenet@google.com Review URL: https://codereview.chromium.org/146583013 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@250878 0039d316-1c4b-4281-b951-d872f2087c98
-
mmoss@chromium.org authored
> gclient: Use the correct bot hostnames to enable experimental deletion behavior > > BUG=skia:1638 > > Review URL: https://codereview.chromium.org/132313017 TBR=borenet@google.com Review URL: https://codereview.chromium.org/143183008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@250877 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Feb, 2014 2 commits
-
-
borenet@google.com authored
BUG=skia:1638 Review URL: https://codereview.chromium.org/132313017 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@250524 0039d316-1c4b-4281-b951-d872f2087c98
-
borenet@google.com authored
BUG= Review URL: https://codereview.chromium.org/133073015 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@250482 0039d316-1c4b-4281-b951-d872f2087c98
-
- 06 Feb, 2014 1 commit
-
-
borenet@google.com authored
Revert of Reland r245404 ("If the destination directory doesn't contain the desired repo, delete it") (https://codereview.chromium.org/131743022/) Reason for revert: This is still failing third_party DEPS for git-svn... Original issue's description: > Reland r245404 ("If the destination directory doesn't contain the desired repo, delete it") > > BUG= > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=249143 TBR=iannucci@chromium.org,maruel@chromium.org NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/152933004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@249216 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Feb, 2014 1 commit
-
-
borenet@google.com authored
BUG= Review URL: https://codereview.chromium.org/131743022 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@249143 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Jan, 2014 2 commits
-
-
thakis@chromium.org authored
Revert of If the destination directory doesn't contain the desired repo, delete it (https://codereview.chromium.org/61623008/) Reason for revert: This breaks `gclient sync` for me. Before this patch: ________ found .git directory; skipping src After this patch: Error: 1> Can't update/checkout /Volumes/MacintoshHD2/src/chrome-git/src if an unversioned directory is present. Delete the directory and try again. Original issue's description: > If the destination directory doesn't contain the desired repo, delete it > > Basic functionality - this may not be in quite the right place. > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=245404 TBR=iannucci@chromium.org,ilevy@chromium.org,cmp@chromium.org,maruel@chromium.org,morrita@chromium.org,borenet@google.com NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/141633005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@245530 0039d316-1c4b-4281-b951-d872f2087c98
-
borenet@google.com authored
Basic functionality - this may not be in quite the right place. Review URL: https://codereview.chromium.org/61623008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@245404 0039d316-1c4b-4281-b951-d872f2087c98
-
- 15 Oct, 2013 1 commit
-
-
borenet@google.com authored
These are run for a given dependency after it has been synced but before its DEPS have been synced. This will help to switch Chromium to depend on Skia's git repository (skia:1638). Review URL: https://codereview.chromium.org/25322002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@228651 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Aug, 2013 1 commit
-
-
maruel@chromium.org authored
Update subcommand to support examples, always disable format_description and format_epilog and add colors when enabled. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/22824018 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@218180 0039d316-1c4b-4281-b951-d872f2087c98
-
- 20 Jul, 2013 1 commit
-
-
ilevy@chromium.org authored
Add an option in DEPS files to clone a project into a temp dir and then copy into expected final dir. This allows checking out a git repo into a folder which is non-empty. It is useful for projects that are embedded in src/ but want to specify the revision of src/ in the embedded project (such as android private). BUG=165280 Review URL: https://chromiumcodereview.appspot.com/19359002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@212720 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Jul, 2013 1 commit
-
-
iannucci@chromium.org authored
Instead of cloning straight into place, clones are made to a global cache dir, and then local (using --shared) clones are made from the cache to the final resting place. This means the 'final' clones are full repos with no shenanigans, meaning that branches, commits, etc. all work, which should allow the rest of the gclient ecosystem to work without change as well. The primary benefit is, of course, reduced network IO, and a much lower cost for 'clobber' operations (assuming we don't clobber the cache). It also means that a given bot can have a greater number of checkouts, since the entire git history will only be stored once per machine, instead of once per checkout. R=dpranke@chromium.org, szager@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/18328003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210024 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 May, 2013 1 commit
-
-
tyoshino@chromium.org authored
Also adds msg to assertions to print current size of data written to stdout. Review URL: https://chromiumcodereview.appspot.com/16058007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@202863 0039d316-1c4b-4281-b951-d872f2087c98
-
- 18 Apr, 2013 1 commit
-
-
kustermann@google.com authored
Changed the behaviour of '--transitive' in gclient.py to use revision instead of timestamp for identical repositories. Here's some background why we need this: We discovered that google code defines the timestamp of a revision to be the time when a commit was started rather than when it was finished (apache subversion takes the timestamp when the commit transaction is finished). This can result in a situation where revision R(i-1) has a higher timestamp than Ri. See bug: https://code.google.com/p/support/issues/detail?id=30419 When using 'gclient --transitive' we effectively do date-based checkouts. If a parent has a dependency (without a ...@revision) and that dependency lives in the same repository as the parent does we'd like to checkout the exact same revision as the parent (if we do a date-based checkout as we do now the google code bug can result in a situation where we don't get the same revision). Review URL: https://chromiumcodereview.appspot.com/13814012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@194852 0039d316-1c4b-4281-b951-d872f2087c98
-
- 15 Nov, 2012 1 commit
-
-
davidjames@chromium.org authored
Currently, if an unversioned directory is present where we would expect a versioned repository to be, the following error is printed: Can't update/checkout %s if an unversioned directory is present. Delete the directory and try again. If --reset and --delete_unversioned_trees are used, gclient should delete the unversioned directory in this case. This problem can be reproduced using the following recipe: $ rm -rf src/third_party/webrtc/.svn $ gclient sync -nRftD BUG=none TEST=Verify that above error is fixed. Run all smoke tests. Review URL: https://chromiumcodereview.appspot.com/11366239 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@167942 0039d316-1c4b-4281-b951-d872f2087c98
-
- 27 Sep, 2012 1 commit
-
-
lliabraa@chromium.org authored
The try slaves run 'git revert' to clean up from the previous run. This only runs 'git reset --hard', which does not remove any untracked files, so if a CL adds a new file it will still be present after 'gclient revert'. Adding git clean -f -d removes untracked files (-f) and directories (-d). Review URL: https://chromiumcodereview.appspot.com/10986032 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@159020 0039d316-1c4b-4281-b951-d872f2087c98
-
- 02 Mar, 2012 1 commit
-
-
davidbarr@chromium.org authored
Support --jobs in 'fetch' and 'recurse' commands. BUG=115840 TEST= Review URL: http://codereview.chromium.org/9560010 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@124657 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Nov, 2011 1 commit
-
-
maruel@chromium.org authored
It will simplify importing utility modules from other projects. Otherwise I was getting name conflicts with 'test'. Reenable W0403 that was disabled in the previous CL. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8508015 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109636 0039d316-1c4b-4281-b951-d872f2087c98
-