- 12 Mar, 2011 3 commits
-
-
mhm@chromium.org authored
gcl is now fully compatible with msysgit. BUG=70550 TEST=gcl change through msysgit. Review URL: http://codereview.chromium.org/6689001 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77909 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77900 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
This version calls into presubmit_support directly to support the OWNERS hooks. We do not need both this patch and http://codereview.chromium.org/6646009/ This patch depends on http://codereview.chromium.org/6665018/ . Review URL: http://codereview.chromium.org/6674014 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77898 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Mar, 2011 4 commits
-
-
dpranke@chromium.org authored
This change requires us to change the previous signature for the CheckOwners() hook to provide the server address and email regexp to use for parsing approvals from Rietveld. Review URL: http://codereview.chromium.org/6657028 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77891 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
the git_cl_hooks library in depot_tools. Also remove support for post-commit hooks. This binds git-cl tighter to depot_tools, but also makes things a lot simpler and cleaner. Review URL: http://codereview.chromium.org/6665018 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77889 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
This required making the location on 'true' consistently path-independent and working around a weird subversion issue. Review URL: http://codereview.chromium.org/6646041 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77883 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6658013 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77882 0039d316-1c4b-4281-b951-d872f2087c98
-
- 10 Mar, 2011 1 commit
-
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6646040 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77700 0039d316-1c4b-4281-b951-d872f2087c98
-
- 09 Mar, 2011 9 commits
-
-
dpranke@chromium.org authored
Also, this properly wires up the presubmit code to the owners code and adds unit tests. Review URL: http://codereview.chromium.org/6623074 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77523 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6639010 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77522 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6646007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77521 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6651009 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77518 0039d316-1c4b-4281-b951-d872f2087c98
-
bauerb@chromium.org authored
This reverts commit 39d5bf3d. TBR=maruel git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77475 0039d316-1c4b-4281-b951-d872f2087c98
-
bauerb@chromium.org authored
BUG=none TEST=`git try foo` gives a proper error message. Review URL: http://codereview.chromium.org/6650025 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77470 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Keep an alias to RemoveDirectory, will be removed in a later change. TEST=new unit test to test this function BUG=none Review URL: http://codereview.chromium.org/6628032 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77463 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Improve test to make sure svn status comes out clean. TEST=improved unit tests and scm.SVN.Revert() should now do the right thing BUG=none Review URL: http://codereview.chromium.org/6650011 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77391 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6648015 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77385 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 Mar, 2011 7 commits
-
-
dpranke@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77371 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6649007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77368 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6628072 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77361 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6627059 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77351 0039d316-1c4b-4281-b951-d872f2087c98
-
thomasvl@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/6621043 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77284 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
The tests now base the directory in mkdtemp() which is much safer than using the source's file directory as before. BUG=none TEST=none Review URL: http://codereview.chromium.org/6625018 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77278 0039d316-1c4b-4281-b951-d872f2087c98
-
bauerb@chromium.org authored
Using reset --soft doesn't require touching the working copy, so it should be faster and not require rebuilds. BUG=none TEST=none Review URL: http://codereview.chromium.org/6575031 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77267 0039d316-1c4b-4281-b951-d872f2087c98
-
- 07 Mar, 2011 1 commit
-
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6632014 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77178 0039d316-1c4b-4281-b951-d872f2087c98
-
- 04 Mar, 2011 5 commits
-
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6612011 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@76980 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
neither SyntaxError or ANYONE is used at, but they will be shortly. Review URL: http://codereview.chromium.org/6609012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@76978 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Ease support for different port if necessary. BUG=none TEST=none Review URL: http://codereview.chromium.org/6632007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@76968 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Add code to wait for the bound port to open and close correctly, removing race conditions. BUG=test reliability TEST=better Review URL: http://codereview.chromium.org/6627013 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@76966 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/6621013 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@76965 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Mar, 2011 2 commits
-
-
maruel@chromium.org authored
Add a unit test to catch potential regressions. Remove an old test new code broke. TEST=unit tests BUG=none Review URL: http://codereview.chromium.org/6613025 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@76805 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
URL value is dependent on the local directory. The current directory would affect Base URL on Rietveld otherwise. Do not use Repository Root instead of URL since git svn clone foo -T bar wouldn't be correctly based. Update RunCommand() to be able to pass cwd argument. TEST=git cl upload is broken if I break this code. BUG=none Review URL: http://codereview.chromium.org/6591093 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@76791 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 Mar, 2011 3 commits
-
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6591064 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@76459 0039d316-1c4b-4281-b951-d872f2087c98
-
bauerb@chromium.org authored
The svn branch heuristic does roughly the same thing git-svn does: We first iterate backwards over the history to find the svn URL (like svn://svn.chromium.org/chrome/trunk/src). Then we go through all defined svn-remote section looking for one where the URL is the root of the svn URL (svn://svn.chromium.org/chrome in that case), and the fetch spec looks like "trunk/src:remotes/origin/trunk". If the base URL + left part (trunk/src) is the full URL, the right part (remotes/origin/trunk) is the git ref that is updated when we do a `git svn fetch`! This works for git-svn branches that fetch from trunk as well as milestone branches. BUG=none TEST=none Review URL: http://codereview.chromium.org/6597004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@76364 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
This changes adds the first pass of code needed for OWNERS files. In total there should probably be maybe four user-visible changes: * new gcl/git-cl "suggest-reviewers" command * a presubmit hook on upload to automatically add the reviewers * an addition to gcl/git-cl status command that tells you which files still need review/approval. * a presubmit hook on commit to ensure all of the needed reviewers have approved the file. This change implements a core "owners Database" object with the dumbest possible algorithm for determining a covering set of reviewers, and the skeleton of the presubmit hooks. This code will not be used by anything yet, and is also missing unit tests. Review URL: http://codereview.chromium.org/6581030 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@76342 0039d316-1c4b-4281-b951-d872f2087c98
-
- 28 Feb, 2011 1 commit
-
-
mhm@chromium.org authored
First step to remove cygwin dependencies. This will remove dependencies with zcsh and allow python scripts to be executed as hooks. BUG=70550, 70549 TEST=checkout chrome with git, use git cl to upload a cl, revise a cl, commit a cl. Review URL: http://codereview.chromium.org/6369012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@76232 0039d316-1c4b-4281-b951-d872f2087c98
-
- 25 Feb, 2011 1 commit
-
-
maruel@chromium.org authored
It is useful sometimes to cc someone without marking this person as a reviewer. TEST=none BUG=none Review URL: http://codereview.chromium.org/6575036 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@76093 0039d316-1c4b-4281-b951-d872f2087c98
-
- 24 Feb, 2011 3 commits
-
-
maruel@chromium.org authored
from the same repository. TEST=added regression test. BUG=none Review URL: http://codereview.chromium.org/6578029 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@75937 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
TBR=bradnelson BUG=none TEST=none Review URL: http://codereview.chromium.org/6576042 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@75918 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
To reproduce, svn delete a file, then svn merge -c -N the file to revive it. Also fix a unit test that was broken for a while. TEST=none BUG=none Review URL: http://codereview.chromium.org/6576005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@75835 0039d316-1c4b-4281-b951-d872f2087c98
-