Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3534)

Issue 7202044: Replace gcl_try with submit_try (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by EricB
Modified:
11 years, 9 months ago
Reviewers:
epoger, rmistry
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Replace gcl_try with submit_try submit_try supports both git and svn and hooks directly into depot_tools rather than calling it in a subprocess. Committed: https://code.google.com/p/skia/source/detail?r=7352

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Patch Set 4 : #

Total comments: 8

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -129 lines) Patch
D tools/gcl_try View 1 1 chunk +0 lines, -95 lines 0 comments Download
A + tools/submit_try View 1 2 3 4 5 2 chunks +144 lines, -34 lines 0 comments Download

Messages

Total messages: 10
EricB
This is mostly additions to gcl_try, with the exception of the modifications to SubmitTryRequest.
11 years, 9 months ago (2013-01-23 18:22:36 UTC) #1
rmistry
LGTM https://codereview.appspot.com/7202044/diff/1/tools/submit_try File tools/submit_try (right): https://codereview.appspot.com/7202044/diff/1/tools/submit_try#newcode1 tools/submit_try:1: #!/usr/bin/python This file looks like it includes gcl_try ...
11 years, 9 months ago (2013-01-23 18:30:34 UTC) #2
rmistry
Err I did not mean to LGTM yet On 2013/01/23 18:30:34, rmistry wrote: > LGTM ...
11 years, 9 months ago (2013-01-23 18:35:29 UTC) #3
EricB
Patch set 2. Indeed, that does make it easier to read.
11 years, 9 months ago (2013-01-23 18:36:22 UTC) #4
rmistry
https://codereview.appspot.com/7202044/diff/4/tools/submit_try File tools/submit_try (right): https://codereview.appspot.com/7202044/diff/4/tools/submit_try#newcode35 tools/submit_try:35: which = 'where' might be clearer if it was ...
11 years, 9 months ago (2013-01-23 18:47:57 UTC) #5
EricB
Patch set 4. https://codereview.appspot.com/7202044/diff/4/tools/submit_try File tools/submit_try (right): https://codereview.appspot.com/7202044/diff/4/tools/submit_try#newcode35 tools/submit_try:35: which = 'where' On 2013/01/23 18:47:57, ...
11 years, 9 months ago (2013-01-23 19:06:30 UTC) #6
rmistry
https://codereview.appspot.com/7202044/diff/8002/tools/submit_try File tools/submit_try (right): https://codereview.appspot.com/7202044/diff/8002/tools/submit_try#newcode16 tools/submit_try:16: import argparse I just noticed that this is new ...
11 years, 9 months ago (2013-01-23 19:41:07 UTC) #7
EricB
Patch set 5 https://codereview.appspot.com/7202044/diff/8002/tools/submit_try File tools/submit_try (right): https://codereview.appspot.com/7202044/diff/8002/tools/submit_try#newcode16 tools/submit_try:16: import argparse On 2013/01/23 19:41:07, rmistry ...
11 years, 9 months ago (2013-01-23 20:35:25 UTC) #8
rmistry
LGTM https://codereview.appspot.com/7202044/diff/8002/tools/submit_try File tools/submit_try (right): https://codereview.appspot.com/7202044/diff/8002/tools/submit_try#newcode80 tools/submit_try:80: if len(url) == len(repo_root): On 2013/01/23 20:35:25, EricB ...
11 years, 9 months ago (2013-01-23 20:46:59 UTC) #9
EricB
11 years, 9 months ago (2013-01-23 20:54:39 UTC) #10
Message was sent while issue was closed.
Patch set 6 committed as r7352.

https://codereview.appspot.com/7202044/diff/8002/tools/submit_try
File tools/submit_try (right):

https://codereview.appspot.com/7202044/diff/8002/tools/submit_try#newcode80
tools/submit_try:80: if len(url) == len(repo_root):
On 2013/01/23 20:46:59, rmistry wrote:
> On 2013/01/23 20:35:25, EricB wrote:
> > On 2013/01/23 19:41:07, rmistry wrote:
> > > Can you explain this line and why we return 'svn' below?
> > 
> > "root" is where the current checkout is based.  Most devs check out
> > http://skia.googlecode.com/svn/trunk, but it is also possible to check out
at
> > http://skia.googlecode.com/svn, in which case the method at line 82 will
just
> > give an empty string.  The ApplyPatch buildstep needs "root" to know where
to
> go
> > before applying the patch.  "svn" is special-cased as the root of the
> checkout.
> 
> In that case will url == repo_root work as well?

Yes. Somehow I missed that obvious fact. I changed it since that's clearer.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b