- 20 Jul, 2010 4 commits
-
-
sky@chromium.org authored
Review URL: http://codereview.chromium.org/3025006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@53100 0039d316-1c4b-4281-b951-d872f2087c98
-
msb@chromium.org authored
To reduce server load, only fetch the ref we need. This is a redo of: http://codereview.chromium.org/2856038 First upload was the original CL 2856038. Subsequent uploads are my changes. TEST=ran presubmit tests Review URL: http://codereview.chromium.org/2842060 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@53072 0039d316-1c4b-4281-b951-d872f2087c98
-
derat@chromium.org authored
This looks like it broke syncing from git repos: File "/home/derat/local/depot_tools/gclient.py", line 1208, in <module> sys.exit(Main(sys.argv[1:])) File "/home/derat/local/depot_tools/gclient.py", line 1198, in Main return command(parser, argv[1:]) File "/home/derat/local/depot_tools/gclient.py", line 1035, in CMDsync return client.RunOnDeps('update', args) File "/home/derat/local/depot_tools/gclient.py", line 621, in RunOnDeps scm.RunCommand(command, self._options, args, file_list) File "/home/derat/local/depot_tools/gclient_scm.py", line 115, in RunCommand return getattr(self, command)(options, args, file_list) File "/home/derat/local/depot_tools/gclient_scm.py", line 264, in update print_error=False) File "/home/derat/local/depot_tools/scm.py", line 84, in Capture return gclient_utils.CheckCall(c, in_directory, print_error) File "/home/derat/local/depot_tools/gclient_utils.py", line 58, in CheckCall raise CheckCallError(command, cwd, process.returncode, std_out, std_err) gclient_utils.CheckCallError: (['git', 'fetch', 'origin', 'cc1c63d'], '/usr/local/google/home/derat/chrome/src/third_party/cros', 128, '', "fatal: Couldn't find remote ref cc1c63d\nfatal: The remote end hung up unexpectedly\n") BUG=none TEST=works again after the revert Review URL: http://codereview.chromium.org/2888023 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@53056 0039d316-1c4b-4281-b951-d872f2087c98
-
sky@chromium.org authored
This is the same as the last cl, but hopefully with the right svn server. Review URL: http://codereview.chromium.org/3023008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@53043 0039d316-1c4b-4281-b951-d872f2087c98
-
- 19 Jul, 2010 1 commit
-
-
msb@chromium.org authored
To reduce server load, only fetch the ref we need. TEST=ran presubmit tests Review URL: http://codereview.chromium.org/2856038 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52941 0039d316-1c4b-4281-b951-d872f2087c98
-
- 13 Jul, 2010 3 commits
-
-
msb@chromium.org authored
Review URL: http://codereview.chromium.org/2792012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52240 0039d316-1c4b-4281-b951-d872f2087c98
-
msb@chromium.org authored
Rather than updating git-cl whenever gclient is invoked, update it whenever git-cl is invoked. In the chromium-os workflow, folks often run git-cl but rarely run gclient. This results in folks running an older git-cl which may not have the latest features/fixes. TEST= Tested that git-cl is updated when it is stale, git-cl is cloned when it doesn't exist and is not updated when DEPOT_TOOLS_UPDATE=0 Review URL: http://codereview.chromium.org/2962013 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52236 0039d316-1c4b-4281-b951-d872f2087c98
-
mazda@chromium.org authored
Chromium OS continuous builds are failing because of the following error. Traceback (most recent call last): File "/b/depot_tools/gclient.py", line 1212, in <module> sys.exit(Main(sys.argv[1:])) File "/b/depot_tools/gclient.py", line 1202, in Main return command(parser, argv[1:]) File "/b/depot_tools/gclient.py", line 1122, in CMDrevinfo client.PrintRevInfo() File "/b/depot_tools/gclient.py", line 776, in PrintRevInfo url = entries.pop(name) KeyError: 'chromiumos' This change will fix the error. TEST=none BUG=none Review URL: http://codereview.chromium.org/2892007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52180 0039d316-1c4b-4281-b951-d872f2087c98
-
- 12 Jul, 2010 3 commits
-
-
maruel@chromium.org authored
Emulate running gclient from a checkout containing .gclient and a DEPS, with the solution having an url set to None. TEST=new smoke test Review URL: http://codereview.chromium.org/2897010 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52119 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
This is being abused by WebKit. TEST=new smoke test Review URL: http://codereview.chromium.org/2923005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52096 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
This case covers the webkit gclient usage. TEST=improved smoke test Review URL: http://codereview.chromium.org/2968005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52092 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Jul, 2010 1 commit
-
-
maruel@chromium.org authored
TBR=bradnelson Review URL: http://codereview.chromium.org/2910006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52064 0039d316-1c4b-4281-b951-d872f2087c98
-
- 10 Jul, 2010 1 commit
-
-
maruel@chromium.org authored
Add gclient_utils.Error trapping. Review URL: http://codereview.chromium.org/2942005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52029 0039d316-1c4b-4281-b951-d872f2087c98
-
- 09 Jul, 2010 2 commits
-
-
maruel@chromium.org authored
TBR=msb Review URL: http://codereview.chromium.org/2973001 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52011 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Add the fix for FileImpl() plus unit tests. TEST=more tests Review URL: http://codereview.chromium.org/2808048 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52005 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 Jul, 2010 1 commit
-
-
maruel@chromium.org authored
TEST=new smoke tests Review URL: http://codereview.chromium.org/2865039 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@51824 0039d316-1c4b-4281-b951-d872f2087c98
-
- 07 Jul, 2010 5 commits
-
-
maruel@chromium.org authored
TBR=msb Review URL: http://codereview.chromium.org/2886017 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@51767 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
I didn't run the unit test after doing the last minute change and it was indeed broken. TBR=msb Review URL: http://codereview.chromium.org/2823040 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@51761 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
- Changed the algorithm from breadth-first to depth-first. - Added infinite recursion support. - Fixed From() of From() dependency. - Fixed cross solution custom deps aliasing. - Removed support code for old .gclient_entries format. - Removed IsGitCheckout() in favor for a direct check for .git presence. TEST=all test pass Review URL: http://codereview.chromium.org/2867047 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@51760 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/2885021 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@51746 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
TEST=none, no big deal. I'll get a breakpad report otherwise anyway. This is solely to *reduce* the number of breakpad stack trace that this is done. Review URL: http://codereview.chromium.org/2885020 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@51739 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Jul, 2010 1 commit
-
-
maruel@chromium.org authored
Remove SUPPORTED_COMMANDS since it is not necessary, change the formating to not introduce an empty line. Review URL: http://codereview.chromium.org/2836042 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@51640 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 Jul, 2010 1 commit
-
-
piman@chromium.org authored
This allows to recurse in all the entries to operate on them. Review URL: http://codereview.chromium.org/2862039 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@51419 0039d316-1c4b-4281-b951-d872f2087c98
-
- 30 Jun, 2010 1 commit
-
-
zbehan@chromium.org authored
* also allow PATH entry to end in / (which is valid) * in case depot_tools cannot be located in PATH, search for them using which * added dependency on subprocess (new in python 2.4) M git-cl-upload-hook TEST=run the hook manually with: 1) PATH containing the depot_tools, depot_tools/ (success) 2) checkout of depot_tools into ~/x, and PATH containing that (success) 3) PATH not containing any copy of depot_tools (fail) 4) Several PATH entries containing gclient, not called depot_tools (success) Review URL: http://codereview.chromium.org/2852032 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@51207 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Jun, 2010 1 commit
-
-
gavinp@google.com authored
Right now if you svn cp or svn mv before uploading to rietveld, there's no description in the patch at all of what was done; so you get a diff, but it's for who knows what revision of what prior file to some current version. For code reviews this kinda works (you ask the guy what it was), but for trying to apply patches (ala git patch) this fails badly. This patch tries to add some metadata to the start of a rietveld patch that describes these changes: both to a human (who can read them) and to a potential clever future git-cl (which I'll do next). The metadata looks like this after checking out a test repo, and svn cp -r 1 foo nitz; svn cp bar quux; echo be good>>quux ### BEGIN SVN COPY METADATA #$ svn cp -r 1 foo nitz ### WARNING: note non-trunk copy #$ cp bar quux ### END SVN COPY METADATA Index: nitz Index: quux =================================================================== --- quux (revision 0) +++ quux (working copy) @@ -1,2 +1,3 @@ hi mom hi sister +be good I did a test, and this looks like it works in svn 1.4.4 as well. BUG=none TEST=none Review URL: http://codereview.chromium.org/2824035 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@51121 0039d316-1c4b-4281-b951-d872f2087c98
-
- 28 Jun, 2010 2 commits
-
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/2857017 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@50988 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/2866017 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@50987 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Jun, 2010 1 commit
-
-
maruel@chromium.org authored
Move DEPS parsing into a single function. This is a move towards having each DEPS entry being a Dependency instance. TEST=new revinfo unit tests Review URL: http://codereview.chromium.org/2839008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@50630 0039d316-1c4b-4281-b951-d872f2087c98
-
- 22 Jun, 2010 1 commit
-
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/2806020 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@50481 0039d316-1c4b-4281-b951-d872f2087c98
-
- 21 Jun, 2010 2 commits
-
-
maruel@chromium.org authored
TBR=nasserg Review URL: http://codereview.chromium.org/2815017 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@50372 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Move DEPS parsing into a single function. This is a move towards having each DEPS entry being a Dependency instance. TEST=new revinfo unit tests Review URL: http://codereview.chromium.org/2839008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@50367 0039d316-1c4b-4281-b951-d872f2087c98
-
- 18 Jun, 2010 4 commits
-
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/2814017 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@50251 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
It breaks on Windows. TBR=msb Review URL: http://codereview.chromium.org/2856008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@50248 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Move DEPS parsing into a single function. This is a move towards having each DEPS entry being a Dependency instance. Review URL: http://codereview.chromium.org/2839008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@50247 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
TBR=bradnelson Review URL: http://codereview.chromium.org/2850014 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@50232 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Jun, 2010 2 commits
-
-
estade@chromium.org authored
BUG=none TEST=manual; gcl_unittests.py Review URL: http://codereview.chromium.org/2857007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@50133 0039d316-1c4b-4281-b951-d872f2087c98
-
tfarina@chromium.org authored
bootstrap/update.sh BUG=38130 TEST=None Review URL: http://codereview.chromium.org/2818011 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@50099 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Jun, 2010 3 commits
-
-
maruel@chromium.org authored
No code change. _ParseSolutionDeps(), _ParseAllDeps(), _RunHookAction(), _RunHooks() Review URL: http://codereview.chromium.org/2828009 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49960 0039d316-1c4b-4281-b951-d872f2087c98
-
tedbo@google.com authored
The git_cl_hooks.py was failing to get the changelist description. It was using gcl to get the description but this was failing because gcl was unable to get the cached copy of codereview.settings (because it was never set up). In this case, gcl reverts to the default dictionary which may be incorrect in some cases. This changes to use 'git cl status --field=desc', which is aware of the codereview.settings. Review URL: http://codereview.chromium.org/2832006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49878 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Patch contributed by Darin Petkov Review URL: http://codereview.chromium.org/2845004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49868 0039d316-1c4b-4281-b951-d872f2087c98
-