- 23 Jul, 2013 3 commits
-
-
maruel@chromium.org authored
Reduce the number of conditions and use more early exits to reduce the number of code paths. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/19463011 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@213173 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
The class already knows the issue number. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/19976002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@213083 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
So that if the process dies in the middle, the files are easier to spot and delete. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/19498004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@213081 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
-
- 19 Jul, 2013 1 commit
-
-
szager@chromium.org authored
TBR=cmp@chromium.org Review URL: https://codereview.chromium.org/19872002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@212687 0039d316-1c4b-4281-b951-d872f2087c98
-
- 18 Jul, 2013 2 commits
-
-
iannucci@chromium.org authored
Also open the altfile with 'w' because we assume ownership over the object alternates. The logic to correctly support other alternates would be quite complex, so don't even imply support. R=maruel@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/19777004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@212426 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
recurse. R=maruel@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/19670012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@212373 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Jul, 2013 3 commits
-
-
szager@chromium.org authored
Also, fix preferred_email. TBR=cmp@chromium.org Review URL: https://codereview.chromium.org/19694003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@212149 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
R=szager@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/18768004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@212140 0039d316-1c4b-4281-b951-d872f2087c98
-
thestig@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/19460002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@211880 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Jul, 2013 1 commit
-
-
szager@chromium.org authored
BUG= R=cmp@chromium.org Review URL: https://codereview.chromium.org/19406002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@211865 0039d316-1c4b-4281-b951-d872f2087c98
-
- 12 Jul, 2013 5 commits
-
-
ilevy@chromium.org authored
BUG=259434 R=iannucci Review URL: https://chromiumcodereview.appspot.com/18408006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@211483 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
This caused problems for repo-based projects that need to install the standard Change-Id commit-msg hook. With the commit-msg hook gone, we can also reinstate the --template argument to 'git clone'. BUG=235215 R=iannucci@chromium.org, ilevy@chromium.org, maruel@chromium.org Review URL: https://codereview.chromium.org/18083033 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@211464 0039d316-1c4b-4281-b951-d872f2087c98
-
ilevy@chromium.org authored
Broke parsing got_revision. Review URL: https://codereview.chromium.org/19116003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@211462 0039d316-1c4b-4281-b951-d872f2087c98
-
ilevy@chromium.org authored
We can use this to evaluate the usefulness of making hooks run in parallel. Review URL: https://chromiumcodereview.appspot.com/18851005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@211446 0039d316-1c4b-4281-b951-d872f2087c98
-
groby@chromium.org authored
BUG=259665 Review URL: https://chromiumcodereview.appspot.com/18664004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@211443 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Jul, 2013 1 commit
-
-
szager@chromium.org authored
BUG= R=dpranke@chromium.org Review URL: https://codereview.chromium.org/18851004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@211148 0039d316-1c4b-4281-b951-d872f2087c98
-
- 10 Jul, 2013 3 commits
-
-
ilevy@chromium.org authored
Caused by crrev.com/210695 TBR=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/19027002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210949 0039d316-1c4b-4281-b951-d872f2087c98
-
tapted@chromium.org authored
Git introduced a --3way argument to `apply` in version 1.7.12 [1]. This provides a much nicer way to apply issues from Rietveld. After this change, `git cl patch` will add --3way after checking the git version for support. [1] https://github.com/git/git/commit/f247b10aa0f75727f1b4bdd67b060720b8219b29 BUG=None TEST=Ran `git cl patch <issue>` with both clean and unclean patches, also checked behaviour of --reject is preserved. R=maruel@chromium.org Review URL: https://codereview.chromium.org/18966004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210695 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
Forcing function for developers to create a .netrc file. BUG= Review URL: https://codereview.chromium.org/18949002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210686 0039d316-1c4b-4281-b951-d872f2087c98
-
- 09 Jul, 2013 2 commits
-
-
petermayo@chromium.org authored
Sometimes we wish to pull in a complicated dependency but want to suppress or replace one or more of the hooks rules. Say for example we want to use a different way of generating the projects, or have a different set of landmine expectations. Here we add a custom_hooks section mirroring custom_deps to allow us to override sections we have identified in the DEPS file. To do so, we add an optional name to the elements of the hooks list, and overwrite those whose name matches. Conventions between included DEPS and the .gclient as to the meanings of the name are equivalent to the meaning of the customized deps, and so do not benefit from further structure or definition. BUG=None TEST=local unit test Review URL: https://chromiumcodereview.appspot.com/17742004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210573 0039d316-1c4b-4281-b951-d872f2087c98
-
bratell@opera.com authored
--no-pager looks ugly in logs and output and makes commands harder to read. Setting an environment variable is better. This is a followup to https://chromiumcodereview.appspot.com/14104005/ which added --no-pager. Review URL: https://chromiumcodereview.appspot.com/18173003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210503 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 Jul, 2013 2 commits
-
-
ilevy@chromium.org authored
Fix identification of shas that contain capitalized hexadecimal characters. Addresses comments from http://crrev.com/18262002/ R=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/18292005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210429 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
This is especially useful when you want to do something like: git try -s third_party/WebKit from the chromium root checkout. R=dpranke@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/17703003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210409 0039d316-1c4b-4281-b951-d872f2087c98
-
- 04 Jul, 2013 4 commits
-
-
ilevy@chromium.org authored
TBR=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/18075005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210223 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
See bug. TBR=szager@chromium.org BUG=257299 Review URL: https://chromiumcodereview.appspot.com/18450003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210222 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
Test breakage introduced by f10ffa90. TBR=joi@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/18603010 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210220 0039d316-1c4b-4281-b951-d872f2087c98
-
joi@chromium.org authored
timer, i.e. ~900 seconds. This should at least help make 'fetch chromium' slightly more reliable over somewhat slow connections. BUG=230691,247173 R=rogerta@chromium.org Review URL: https://codereview.chromium.org/18150002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210190 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Jul, 2013 3 commits
-
-
iannucci@chromium.org authored
This enables significant time savings, especially since file_list only exists to enable file-specific hooks (which, AFAIK, nothing actually uses). On a z620 (linux) using the cached git repos, a first-time `gclient sync --nohooks` takes: * (with) 131.06s user 14.10s system 117% cpu 2:03.89 total * (without) 482.13s user 189.35s system 144% cpu 7:45.63 total This change makes nohooks cause file_list to be None if we don't need to accumulate it, and updates GitWrapper and SvnWrapper appropriately. R=szager@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/18541006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210026 0039d316-1c4b-4281-b951-d872f2087c98
-
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
-
ilevy@chromium.org authored
- Use config --local for properties that should be local. - Remove git fetch retry logic, it should not be necessary with the googlesource hosts. - Include .strip() in GIT.Capture, simplifying other calls. - Safer testing of whether dep revision is a sha. - Fix refs/remotes/ DEPS branch detection Review URL: https://chromiumcodereview.appspot.com/18262002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@209825 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 Jul, 2013 1 commit
-
-
iannucci@chromium.org authored
R=dpranke@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/18269002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@209483 0039d316-1c4b-4281-b951-d872f2087c98
-
- 28 Jun, 2013 3 commits
-
-
petermayo@chromium.org authored
Able to pull internal tools, but distinct from the source that those tools may eventually build. TBR=cmp@chromium.org BUG=252226 TEST=local buildslave Review URL: https://chromiumcodereview.appspot.com/17351008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@209166 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
This will be used on the bots when calling apply_patch, which commits to git repos. R=dpranke@chromium.org,szager@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/18006002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@209040 0039d316-1c4b-4281-b951-d872f2087c98
-
ukai@chromium.org authored
R=hinoka@chromium.org,maruel@chromium.org BUG=254817 Review URL: https://chromiumcodereview.appspot.com/17992005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@209037 0039d316-1c4b-4281-b951-d872f2087c98
-
- 27 Jun, 2013 1 commit
-
-
iannucci@chromium.org authored
Previously if one or both of these values were unset, the tests would simply fail because `git config` returns 1. R=dpranke@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/18053009 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@208966 0039d316-1c4b-4281-b951-d872f2087c98
-
- 26 Jun, 2013 4 commits
-
-
hinoka@chromium.org authored
In order to support both developer workflow and not breaking bots, if the script fails on a 403 in a bucket, it'll print a message asking developers to run "download_from_google_storage --config" in order to create a new boto file. This is not done automatically because it would break bots (Imagine hitting a 403, and then gsutil wiping the .boto file, waiting for input, then dying). BUG=231699,176331 Review URL: https://chromiumcodereview.appspot.com/17590010 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@208806 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
This reverts commit 012dc07c. Revert "Partially revert r208574 to get the CQ working again (hopefully)." This reverts commit 74105cd2. Pull the --no-commit change out completely. TBR=dpranke@chromium.org BUG=254556 Review URL: https://codereview.chromium.org/17944002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@208801 0039d316-1c4b-4281-b951-d872f2087c98
-
hinoka@google.com authored
basic.sh expects "work: None", but "work: " is printed instead, which breaks presubmit. This fixes it. BUG= R=dpranke@chromium.org Review URL: https://codereview.chromium.org/17763004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@208799 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
TBR=iannucci@chromium.org, cmp@chromium.org BUG=254556 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@208782 0039d316-1c4b-4281-b951-d872f2087c98
-