summaryrefslogtreecommitdiffstats
path: root/tools/sync-webkit-git.py
Commit message (Collapse)AuthorAgeFilesLines
* Specify branch when fetching in sync-webkit-git.py.enne@chromium.org2010-11-291-3/+18
| | | | | | | | | | | | This allows the fetch to succeed even when the current WebKit branch has a different remote than the magic gclient branch. BUG=63850 TEST=none Review URL: http://codereview.chromium.org/5185005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67565 0039d316-1c4b-4281-b951-d872f2087c98
* Add --verbose support to sync-webkit-git.py.maruel@chromium.org2010-09-151-8/+17
| | | | | | | | | | | Fix sync-webkit-git.py when there is multiple upstreams by forcing it to use 'origin/master' instead of 'origin'. TEST=none BUG=none Review URL: http://codereview.chromium.org/3380003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59522 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Var() syntax support.mnissler@chromium.org2010-09-031-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3342013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58465 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the branch name updated by sync-webkit-git.py to be overriden using thelevin@chromium.org2010-08-271-12/+30
| | | | | | | | | | | | | | | | git config in the WebKit directory. My scenario is that I have the same git repository (using git-new-workdir) under two different chromium enlistments. (Yes, even with git, I find it useful to have more than one enlistment at times.) BUG=None TEST=Did a run of the tool without the config set and with it set to an existing branch and a non-existing branch. Review URL: http://codereview.chromium.org/3239002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57690 0039d316-1c4b-4281-b951-d872f2087c98
* sync-webkit-git: more windows fixesevan@chromium.org2010-07-281-7/+7
| | | | | | | | | | | | We must pass shell=True on Windows for all subprocess module functions to get PATH expansion for finding git. This is commented in the first call to a subprocess function, so don't duplicate that comment elsewhere. Review URL: http://codereview.chromium.org/3067015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54072 0039d316-1c4b-4281-b951-d872f2087c98
* sync-webkit-git: fixes to work on Windowsevan@chromium.org2010-07-201-2/+7
| | | | | | | | | | | You need shell=True on Windows for it to understand PATH. (Python's subprocess module is confusing: the Windows semantics are significantly different than the Unix ones. Either way on Windows, the command array is flattened and shell-escaped.) Review URL: http://codereview.chromium.org/3032009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53119 0039d316-1c4b-4281-b951-d872f2087c98
* sync-webkit-git: exit with an error code on failureevan@chromium.org2010-07-191-4/+5
| | | | | | | | Useful when running it in combination with other programs. Review URL: http://codereview.chromium.org/3015007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52923 0039d316-1c4b-4281-b951-d872f2087c98
* Better error message when tools/sync-webkit-git.py is run from wrong dir.evan@chromium.org2010-04-191-1/+6
| | | | | | | | | | | Contributed by Hans Wennborg <hans@chromium.org>. BUG=41695 TEST=Ran the script from different dirs to cover all paths through affected code. Review URL: http://codereview.chromium.org/1582033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44921 0039d316-1c4b-4281-b951-d872f2087c98
* sync-webkit-git: handle DEPS specifying nonexistent revisionevan@chromium.org2010-01-201-4/+10
| | | | | | | | | | | | | | Suppose WebKit trunk's recent history is commits r1, r5, and r10. Then suppose our DEPS file asks for r8. We should then use r5 as that contains the same code as r8. Note that if recent history is as above but lacking r10, we still die, because it's possible that r8 exists on trunk but just hasn't made it into git. Review URL: http://codereview.chromium.org/546090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36655 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an algorithm in sync-webkit-git to be much faster.evan@chromium.org2009-12-101-5/+37
| | | | | | | | | I've long known I needed to fix this, but today I was annoyed enough by it that I finally did it. Review URL: http://codereview.chromium.org/477005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34277 0039d316-1c4b-4281-b951-d872f2087c98
* sync-webkit-git: a better message when you're not on the right branchevan@chromium.org2009-09-291-3/+4
| | | | | | Review URL: http://codereview.chromium.org/235056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27560 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regexp matching while looking for svn revision.kuchhal@chromium.org2009-09-221-1/+1
| | | | | | Review URL: http://codereview.chromium.org/207056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26838 0039d316-1c4b-4281-b951-d872f2087c98
* sync-webkit-git: link to wiki, do some of Tony's review commentsevan@chromium.org2009-09-151-18/+14
| | | | | | | | | I had committed before I got Tony's feedback. This change does some of his suggestions and migrates some info to the wiki. Review URL: http://codereview.chromium.org/195098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26286 0039d316-1c4b-4281-b951-d872f2087c98
* sync-webkit-git: add more docs on a gclient tweakevan@chromium.org2009-09-111-1/+6
| | | | | | Review URL: http://codereview.chromium.org/203030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25983 0039d316-1c4b-4281-b951-d872f2087c98
* sync-webkit-git: reduce diff-index outputevan@chromium.org2009-09-101-1/+2
| | | | | | | | | We run diff-index to see if there are any changes we need to pull in, but we don't need it to print all of those changes. Review URL: http://codereview.chromium.org/202045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25869 0039d316-1c4b-4281-b951-d872f2087c98
* Add a tool that syncs a WebKit git checkout with DEPS.evan@chromium.org2009-09-041-0/+91
Review URL: http://codereview.chromium.org/199034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25543 0039d316-1c4b-4281-b951-d872f2087c98