- 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
-
- 15 Jun, 2010 2 commits
-
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/2807003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49789 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
The novel addition here is to not convert a checkout into an update when no files were checked out. Also delete the directory to increase the chances of success. TEST=wait for google code to fail again BUG=32783 Review URL: http://codereview.chromium.org/2858003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49788 0039d316-1c4b-4281-b951-d872f2087c98
-
- 14 Jun, 2010 1 commit
-
-
maruel@chromium.org authored
The change is partial to keep this change still correct but readable/reviewable. Followup changes will further move functions into the Dependency class. If it was done in one change, it would be unreviewable. Fix GetScmName() for protocol svn+ssh://. TEST=didn't break the smoke tests. Review URL: http://codereview.chromium.org/2837001 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49707 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Jun, 2010 5 commits
-
-
maruel@chromium.org authored
Another step in my quest to make the refactor reviewable. Review URL: http://codereview.chromium.org/2786014 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49601 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
TBR=bradnelson Review URL: http://codereview.chromium.org/2749018 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49582 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Fix gclient diff & pack to not throw uncatched exceptions when a directory is missing. Reorder things in gclient.py for easier diff later Update revinfo help Add GetScmName(), it will be needed later. TEST=unit tests BUG=none Review URL: http://codereview.chromium.org/2786013 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49565 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/2776006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49554 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Switch "" usage to '' to please Brad. Didn't change gclient.py yet because it will conflict with the refactor. TEST=unit tests still pass. Review URL: http://codereview.chromium.org/2769011 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49545 0039d316-1c4b-4281-b951-d872f2087c98
-
- 10 Jun, 2010 1 commit
-
-
maruel@chromium.org authored
The recursive DEPS is to be used with From() testing. Didn't enable From() yet since it broke tests and to simplify this change. Review URL: http://codereview.chromium.org/2699005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49427 0039d316-1c4b-4281-b951-d872f2087c98
-
- 07 Jun, 2010 2 commits
-
-
cbentzel@chromium.org authored
Review URL: http://codereview.chromium.org/2654004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49050 0039d316-1c4b-4281-b951-d872f2087c98
-
cbentzel@chromium.org authored
Review URL: http://codereview.chromium.org/2627010 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@49049 0039d316-1c4b-4281-b951-d872f2087c98
-
- 04 Jun, 2010 7 commits
-
-
maruel@chromium.org authored
TBR=bradnelson Review URL: http://codereview.chromium.org/2671003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@48961 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Fix a bug in scm.SVN.DiffItem() Reduce variable aliasing, fix alignments, etc. Review URL: http://codereview.chromium.org/2673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@48943 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Add a lot of checking for stdout and fix one mis-assumption. Make the code much more compact. Make the git_hashes 'revisions' 1-based for consistency. Review URL: http://codereview.chromium.org/2594001 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@48925 0039d316-1c4b-4281-b951-d872f2087c98
-
tony@chromium.org authored
switching repositories. This could result in clobbering changes you may have in a third_party checkout, but if you pass --force, I think you're asking for this behavior. Review URL: http://codereview.chromium.org/2645001 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@48902 0039d316-1c4b-4281-b951-d872f2087c98
-
tony@chromium.org authored
Turns out that this was added in svn 1.5 and the mac bots use svn 1.4.4. Review URL: http://codereview.chromium.org/2623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@48899 0039d316-1c4b-4281-b951-d872f2087c98
-
tony@chromium.org authored
TBR=maruel git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@48898 0039d316-1c4b-4281-b951-d872f2087c98
-
tony@chromium.org authored
command line to gclient, pass the flag to svn update and svn co too. This allows updates when we have dirty files left around. For example, an update may remove a directory, but the directory still has .vcproj or .mk files in it. If we try to re-add that directory, svn will error out. If we add --force, it'll happily allow the update. Review URL: http://codereview.chromium.org/2560001 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@48897 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Jun, 2010 1 commit
-
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/2545001 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@48793 0039d316-1c4b-4281-b951-d872f2087c98
-
- 02 Jun, 2010 2 commits
-
-
viettrungluu@chromium.org authored
BUG=none TEST=drover still works as before, but hyphens are no longer eliminated from commit messages Review URL: http://codereview.chromium.org/2488004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@48771 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
TBR=nsylvain Review URL: http://codereview.chromium.org/2475004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@48755 0039d316-1c4b-4281-b951-d872f2087c98
-