- 11 Mar, 2020 1 commit
-
-
Edward Lemur authored
When running `git rev-parse REV^{commit}` in Windows, `^` must be escaped. However, it was escaped more times than necessary. Split IsValidRevision to call ResolveCommit, add tests to ResolveCommit, and run scm.py tests on Windows. Change-Id: I761a820394c8b5410d68b6ccd6c352c41c30c88c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2092904Reviewed-by:
Josip Sokcevic <sokcevic@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
- 14 Feb, 2020 1 commit
-
-
Edward Lemur authored
scm.GIT functions are tested, and using them makes it easier to mock git calls on git-cl tests. Bug: 1051631 Change-Id: If067aa3f71b7478cafd7985d3020dacc0c6a41c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2055464Reviewed-by:
Anthony Polito <apolito@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
- 13 Feb, 2020 1 commit
-
-
Edward Lemur authored
scm: - Add methods to deal with git configs and tests for them. Will make it easier to mock git config calls as opposed to all git calls. - Add tests to FetchUpstreamTuple git-cl: - Mock out settings.GetChangeRoot() - Use scm.GIT.FetchUpstreamTuple() to reduce code duplication, and mock it out on tests. Bug: 1051631 Change-Id: I1a3220b4c0f3e6221b3c00550259a433c2775798 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2052552 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Anthony Polito <apolito@google.com>
-
- 06 Feb, 2020 1 commit
-
-
Edward Lemur authored
The `author` parameter is never set. The `local_description` parameter was only set with the purpose of getting the local description, so separate it into its own method and call that instead. Use the absolute root when getting the list of modified files instead. Bug: 1042324 Change-Id: I8505172edaacee0656dda98ebbd5f8ebfacb3cef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2038050 Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Anthony Polito <apolito@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
- 17 Jan, 2020 1 commit
-
-
Edward Lemur authored
Will be used by presubmit_support to run checks over all files on a repo. Bug: 1042324 Change-Id: I872b4eb7f287f3a4b14d753cad73d0c5d7beb00c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2002961Reviewed-by:
Anthony Polito <apolito@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
- 30 Oct, 2019 1 commit
-
-
Edward Lemur authored
basestring doesn't exist in Python 3. scm.Capture status doesn't need to support strings either. Bug: 1002209 Change-Id: Ie9edfdfd09b789bfaace038a6ad8f3a7da344bc4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1890925Reviewed-by:
Anthony Polito <apolito@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
- 23 Sep, 2019 1 commit
-
-
Quinten Yearsley authored
I know that sometimes imports can have side-effects, so unused imports shouldn't always be removed, but these ones look like they could be. Change-Id: Iea9f82afa99b0ea35f29a28f20ce0493b579cfee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1819860Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
-
- 14 May, 2019 1 commit
-
-
Raul Tambre authored
This may occur when git diff is ran with binary changes in the diff. Example: https://chromium-review.googlesource.com/c/chromium/src/+/1606595 Bug: 942522 Change-Id: I44caef559de44076ef394caa5abc3967db2bb0b9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1607840 Auto-Submit: Raul Tambre <raul@tambre.ee> Commit-Queue: Dirk Pranke <dpranke@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@chromium.org>
-
- 10 May, 2019 1 commit
-
-
Raul Tambre authored
This avoids the need to do the decoding everywhere separately. Also a small fix for filter() no longer returning a list on Py3. The scripts still work with Python 2. There are no intended behaviour changes. Bug: 942522 Change-Id: Id0f5153011b2ef1b64394359087864cd9434e45e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1595685 Commit-Queue: Dirk Pranke <dpranke@chromium.org> Auto-Submit: Raul Tambre <raul@tambre.ee> Reviewed-by:
Dirk Pranke <dpranke@chromium.org>
-
- 08 May, 2019 1 commit
-
-
Edward Lemur authored
Bug: 956807 Change-Id: I2eed6db1f338806812fca778986d51b0a007eddd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1592577 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@chromium.org>
-
- 02 May, 2019 1 commit
-
-
Bruce Dawson authored
Python (prior to 3.8) treats meaningless string escape sequences as if they were a slash followed by the character. That is, '\w' == '\\w'. Python 3.8 rejects this, and it's confusing. This change fixes seven of these regex strings found in depot_tools (through a regex search, natch). Most of the fixes don't actually change the value of the strings, and this was manually verified: >>> '(/c(/.*/\+)?)?/(\d+)(/(\d+)?/?)?$' == r'(/c(/.*/\+)?)?/(\d+)(/(\d+)?/?)?$' True >>> '#\s*OWNERS_STATUS\s+=\s+(.+)$' == r'#\s*OWNERS_STATUS\s+=\s+(.+)$' True >>> 'COM\d' == r'COM\d' True >>> '^\s+Change-Id:\s*(\S+)$' == r'^\s+Change-Id:\s*(\S+)$' True >>> 'ETag:\s+([a-z0-9]{32})' == r'ETag:\s+([a-z0-9]{32})' True Two exceptions were the regex expressions in filter_demo_output.py and scm.py. These were turned into raw strings despite this changing the value of the string passed to re. This works because re supports the \x, \d, \w, \t, and other escape sequences needed to make this work. TL;DR - use raw strings for regex to avoid melting your brain. If bulk changing regex strings to raw watch out for double-slashes. Bug: 958138 Change-Id: Ic45264cfc63e8bae9cfcffe2cd88a57c2d3dcdae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1590534 Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@chromium.org>
-
- 02 Apr, 2019 1 commit
-
-
Edward Lemur authored
Bug: 874501, 942229 Change-Id: Ie9896e8a289e32a1b468ed5fa51c95a81970bdf8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1544802 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@chromium.org>
-
- 26 Mar, 2019 1 commit
-
-
Raul Tambre authored
This enables gclient sync and gclient runhooks to run, barring hook script failures. git cl upload also now works. The scripts still work with Python 2. There are no intended behaviour changes. Bug: 942522 Change-Id: I2ac587b5f803ba7f5bb5e412337ce049f4b1a741 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1524583 Commit-Queue: Raul Tambre <raul@tambre.ee> Reviewed-by:
Dirk Pranke <dpranke@chromium.org>
-
- 07 Mar, 2019 1 commit
-
-
Michael Spang authored
We should pass --verify to tell rev-parse that we're just testing, and use the ^{commit} dereference operator to avoid the hack of removing a character from the commit hash to see if it's really in the object database. Bug: 938627 Change-Id: Ic6ea898b0a5a6a1a5d706c7586c7208ec8ca2ce2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1504104 Commit-Queue: Michael Spang <spang@chromium.org> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org>
-
- 15 Oct, 2018 1 commit
-
-
Andrii Shyshkalov authored
Also fix a typo in ValidateEmail function which didn't support email addresses with '-' in them, e.g., infra-dev@chromium.org. R=ehmaldonado Bug: 875089 Change-Id: I2d73c1473527c9bf62e25e9f88250196b783fcb0 Reviewed-on: https://chromium-review.googlesource.com/c/1242849 Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org>
-
- 24 Jul, 2018 1 commit
-
-
Edward Lemur authored
Abort any cherry-picks before applying the patch, so that if the bots are in a bad state, we don't fail. Original change's description: > Reland "gclient_scm: Use cherry-picking instead of rebasing." > > The failures were caused by: > 1 - When one change (call it #2) has been uploaded on top of another (#1), > and (#1) has already landed, git cherry-pick complains that the range > '<merge-base>..<change #2>' contains empty commits, since the contents > of (#1) are already present in the tree. > 2 - We did not abort the cherry-picking when 'git cherry-pick' failed, > so a failure made all further CLs in that bot fail. > > This CL fixes it and prevents further regressions. > > Original change's description: > > gclient_scm: Use cherry-picking instead of rebasing. > > > > Currently gclient might include extra commits when applying patches. > > For example, in this case we checkout |patch| and rebase it on top of |base|, > > thus including an |extra commit| that we shouldn't. > > > > o master > > | > > . o patch > > |/ > > o extra commit > > | > > o base (what gclient synced src at) > > > > This change uses the merge-base between |patch| and |master| to cherry-pick only > > the changes belonging to the patch. > > > > Bug: 850812 > > Change-Id: I138192f96bc62b1bb19b0e1ad952c8f8c67631c4 > > Reviewed-on: https://chromium-review.googlesource.com/1137052 > > Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> > > Reviewed-by: Aaron Gable <agable@chromium.org> > > Bug: 850812 > Change-Id: I83f38d0a258df3f5cd89e277f0d648badff29a22 > Reviewed-on: https://chromium-review.googlesource.com/1139554 > Reviewed-by: Aaron Gable <agable@chromium.org> > Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Bug: 850812 Change-Id: Ic65bda67c792bd7af5ec013a62d9615d1498eb3a Reviewed-on: https://chromium-review.googlesource.com/1142805Reviewed-by:
Aaron Gable <agable@chromium.org> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
- 18 Jul, 2018 2 commits
-
-
John Budorick authored
This reverts commit f9afc77f. Reason for revert: https://bugs.chromium.org/p/chromium/issues/detail?id=864301#c10 Original change's description: > Reland "gclient_scm: Use cherry-picking instead of rebasing." > > The failures were caused by: > 1 - When one change (call it #2) has been uploaded on top of another (#1), > and (#1) has already landed, git cherry-pick complains that the range > '<merge-base>..<change #2>' contains empty commits, since the contents > of (#1) are already present in the tree. > 2 - We did not abort the cherry-picking when 'git cherry-pick' failed, > so a failure made all further CLs in that bot fail. > > This CL fixes it and prevents further regressions. > > Original change's description: > > gclient_scm: Use cherry-picking instead of rebasing. > > > > Currently gclient might include extra commits when applying patches. > > For example, in this case we checkout |patch| and rebase it on top of |base|, > > thus including an |extra commit| that we shouldn't. > > > > o master > > | > > . o patch > > |/ > > o extra commit > > | > > o base (what gclient synced src at) > > > > This change uses the merge-base between |patch| and |master| to cherry-pick only > > the changes belonging to the patch. > > > > Bug: 850812 > > Change-Id: I138192f96bc62b1bb19b0e1ad952c8f8c67631c4 > > Reviewed-on: https://chromium-review.googlesource.com/1137052 > > Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> > > Reviewed-by: Aaron Gable <agable@chromium.org> > > Bug: 850812 > Change-Id: I83f38d0a258df3f5cd89e277f0d648badff29a22 > Reviewed-on: https://chromium-review.googlesource.com/1139554 > Reviewed-by: Aaron Gable <agable@chromium.org> > Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> TBR=agable@chromium.org,ehmaldonado@chromium.org,jbudorick@chromium.org Change-Id: I2138757899abd6eb9bece2dac3a25676effafdf3 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 850812 Reviewed-on: https://chromium-review.googlesource.com/1142624Reviewed-by:
John Budorick <jbudorick@chromium.org> Commit-Queue: John Budorick <jbudorick@chromium.org>
-
Edward Lemur authored
The failures were caused by: 1 - When one change (call it #2) has been uploaded on top of another (#1), and (#1) has already landed, git cherry-pick complains that the range '<merge-base>..<change #2>' contains empty commits, since the contents of (#1) are already present in the tree. 2 - We did not abort the cherry-picking when 'git cherry-pick' failed, so a failure made all further CLs in that bot fail. This CL fixes it and prevents further regressions. Original change's description: > gclient_scm: Use cherry-picking instead of rebasing. > > Currently gclient might include extra commits when applying patches. > For example, in this case we checkout |patch| and rebase it on top of |base|, > thus including an |extra commit| that we shouldn't. > > o master > | > . o patch > |/ > o extra commit > | > o base (what gclient synced src at) > > This change uses the merge-base between |patch| and |master| to cherry-pick only > the changes belonging to the patch. > > Bug: 850812 > Change-Id: I138192f96bc62b1bb19b0e1ad952c8f8c67631c4 > Reviewed-on: https://chromium-review.googlesource.com/1137052 > Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> > Reviewed-by: Aaron Gable <agable@chromium.org> Bug: 850812 Change-Id: I83f38d0a258df3f5cd89e277f0d648badff29a22 Reviewed-on: https://chromium-review.googlesource.com/1139554Reviewed-by:
Aaron Gable <agable@chromium.org> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
- 17 Jul, 2018 1 commit
-
-
John Budorick authored
This reverts commit fb78b368. Reason for revert: https://bugs.chromium.org/p/chromium/issues/detail?id=864301 Original change's description: > gclient_scm: Use cherry-picking instead of rebasing. > > Currently gclient might include extra commits when applying patches. > For example, in this case we checkout |patch| and rebase it on top of |base|, > thus including an |extra commit| that we shouldn't. > > o master > | > . o patch > |/ > o extra commit > | > o base (what gclient synced src at) > > This change uses the merge-base between |patch| and |master| to cherry-pick only > the changes belonging to the patch. > > Bug: 850812 > Change-Id: I138192f96bc62b1bb19b0e1ad952c8f8c67631c4 > Reviewed-on: https://chromium-review.googlesource.com/1137052 > Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> > Reviewed-by: Aaron Gable <agable@chromium.org> TBR=agable@chromium.org,ehmaldonado@chromium.org Change-Id: I57299e60e58eac5656dc88937c622d0d14c4ba37 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 850812 Reviewed-on: https://chromium-review.googlesource.com/1139553Reviewed-by:
John Budorick <jbudorick@chromium.org> Commit-Queue: John Budorick <jbudorick@chromium.org>
-
- 16 Jul, 2018 1 commit
-
-
Edward Lemur authored
Currently gclient might include extra commits when applying patches. For example, in this case we checkout |patch| and rebase it on top of |base|, thus including an |extra commit| that we shouldn't. o master | . o patch |/ o extra commit | o base (what gclient synced src at) This change uses the merge-base between |patch| and |master| to cherry-pick only the changes belonging to the patch. Bug: 850812 Change-Id: I138192f96bc62b1bb19b0e1ad952c8f8c67631c4 Reviewed-on: https://chromium-review.googlesource.com/1137052 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Aaron Gable <agable@chromium.org>
-
- 12 Dec, 2017 3 commits
-
-
Aaron Gable authored
This includes a minor refactor so that some gclient_scm methods can all share the same core.quotePath specifier. R=iannucci Bug: 792302 Change-Id: Iaadf190f5c0666787cf7c2ccda88d6dba9aace9b Reviewed-on: https://chromium-review.googlesource.com/823131Reviewed-by:
Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Aaron Gable <agable@chromium.org>
-
Aaron Gable authored
This is a reland of 9219d356 The original was reverted due to a typo (core,quotePath instead of core.quotePath). This version is fixed. Original change's description: > Use core.quotePath=false when git is listing files > > This prevents git from putting quotes around some file names > (those that have astral-plane characters) and not around others. > > R=maruel > > Bug: 792302 > > Change-Id: I3b6a6b36c4720116de811b40177b59aa25c263db > Reviewed-on: https://chromium-review.googlesource.com/815454 > Commit-Queue: Aaron Gable <agable@chromium.org> > Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org> Bug: 792302 Recipe-Nontrivial-Roll: build Recipe-Nontrivial-Roll: build_limited_scripts_slave Change-Id: I28d2260948aaf63bd865888c2f60e4cdee9aea48 Reviewed-on: https://chromium-review.googlesource.com/822990 Commit-Queue: Aaron Gable <agable@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@chromium.org>
-
Robbie Iannucci authored
This reverts commit 9219d356. Reason for revert: unfortunately this says "core,quotePath" and since it includes recipe changes, we need something that the roller can munch on :( Original change's description: > Use core.quotePath=false when git is listing files > > This prevents git from putting quotes around some file names > (those that have astral-plane characters) and not around others. > > R=maruel > > Bug: 792302 > Recipe-Nontrivial-Roll: build > Recipe-Nontrivial-Roll: build_limited_scripts_slave > Change-Id: I3b6a6b36c4720116de811b40177b59aa25c263db > Reviewed-on: https://chromium-review.googlesource.com/815454 > Commit-Queue: Aaron Gable <agable@chromium.org> > Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org> TBR=maruel@chromium.org,agable@chromium.org Change-Id: I226388f19024403240a1443eb2b878b9293220e1 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 792302 Reviewed-on: https://chromium-review.googlesource.com/821671Reviewed-by:
Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
-
- 11 Dec, 2017 1 commit
-
-
Aaron Gable authored
This prevents git from putting quotes around some file names (those that have astral-plane characters) and not around others. R=maruel Bug: 792302 Recipe-Nontrivial-Roll: build Recipe-Nontrivial-Roll: build_limited_scripts_slave Change-Id: I3b6a6b36c4720116de811b40177b59aa25c263db Reviewed-on: https://chromium-review.googlesource.com/815454 Commit-Queue: Aaron Gable <agable@chromium.org> Reviewed-by:
Marc-Antoine Ruel <maruel@chromium.org>
-
- 31 May, 2017 1 commit
-
-
Pierre-Antoine Manzagol authored
_CalculateAddedDeps calls into depot tools' scm.py GetOldContents to compare previous and current versions of the DEPS file. GetOldContents attempts to 'git show <sha>:<path>'. The problem on Windows is that path uses '\' but git show seems to want a posix path. Git show therefore doesn't find the file and returns an empty output, leading presubmit to think all the deps are new. Bug:725933 Change-Id: Ifbbfbcba4be466d9be623826818fd191bd2ca525 Reviewed-on: https://chromium-review.googlesource.com/514142 Commit-Queue: Nodir Turakulov <nodir@chromium.org> Reviewed-by:
Nodir Turakulov <nodir@chromium.org>
-
- 13 Apr, 2017 1 commit
-
-
Daniel Cheng authored
Bug: 700108 Change-Id: I9010aa3b4aa467c91b93ffac924b3ec5a16cfaa2 Reviewed-on: https://chromium-review.googlesource.com/476590Reviewed-by:
Jochen Eisinger <jochen@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org>
-
- 22 Mar, 2017 1 commit
-
-
Daniel Cheng authored
BUG=702851 Change-Id: I6f005d19524cbb8b361d3fcb0b91912885c46e00 Reviewed-on: https://chromium-review.googlesource.com/456755 Commit-Queue: Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@chromium.org>
-
- 21 Dec, 2016 2 commits
-
-
Aaron Gable authored
None of these methods are called anymore. BUG=475320 Change-Id: I2f21a326069cf3e65af179f4e61fa15093b73b07 Reviewed-on: https://chromium-review.googlesource.com/423122Reviewed-by:
Katie Thomas <katthomas@chromium.org> Commit-Queue: Aaron Gable <agable@chromium.org>
-
Aaron Gable authored
This code is no longer imported by anything. BUG=475320 Change-Id: Ib03f1185c3d90e271f4ee4bff6ad0184454facb8 Reviewed-on: https://chromium-review.googlesource.com/422463Reviewed-by:
Katie Thomas <katthomas@chromium.org> Commit-Queue: Aaron Gable <agable@chromium.org>
-
- 25 Nov, 2015 1 commit
-
-
mmoss@chromium.org authored
R=hinoka@chromium.org BUG=555036 Review URL: https://codereview.chromium.org/1471973004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297698 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 1 commit
-
-
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
-
- 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
-
- 09 Sep, 2014 1 commit
-
-
mmoss@chromium.org authored
R=iannucci@chromium.org, maruel@chromium.org BUG=410959 Review URL: https://codereview.chromium.org/549733002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291883 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Jun, 2014 2 commits
-
-
hinoka@google.com authored
Revert of scm.GIT.IsValidRevision: Only return True if the given object is a commit (https://codereview.chromium.org/329823002/) Reason for revert: Speculative revert to see if this is the cause of auto_roll_test.py to fail in build/ presubmit. Original issue's description: > scm.GIT.IsValidRevision: Only return True if the given object is a commit > > BUG=383476 > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=276487 TBR=iannucci@chromium.org,maruel@chromium.org,borenet@google.com NOTREECHECKS=true NOTRY=true BUG=383476 Review URL: https://codereview.chromium.org/329393002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@276493 0039d316-1c4b-4281-b951-d872f2087c98
-
borenet@google.com authored
BUG=383476 Review URL: https://codereview.chromium.org/329823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@276487 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Apr, 2014 1 commit
-
-
szager@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/247493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@265735 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
-
- 03 Apr, 2014 1 commit
-
-
nodir@chromium.org authored
Bug=359292 Original commit: b1391c6a Revert: 8e5f7d308fde74c52e321587649c16568e4a9644 Original commit comment: > Now trychange can store patches in a Git repo > A git patch repo is cloned to .git/git-try/patches-git, if was not > cloned before. Otherwise, changes are pulled. Then a patch is committed a > pushed. > --revision=auto (Git only) is resolved to the revision the diff is genera > against. git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@261247 0039d316-1c4b-4281-b951-d872f2087c98
-
- 02 Apr, 2014 1 commit
-
-
nodir@chromium.org authored
This reverts commit b1391c6a. git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@261220 0039d316-1c4b-4281-b951-d872f2087c98
-