Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Issue 3075009: 'git try': a) Give users help when they ask for it, b) Don't start try job if... (Closed)

Created:
10 years, 4 months ago by Randy Smith (Not in Mondays)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, M-A Ruel
Visibility:
Public.

Description

'git try': a) Give users help when they ask for it, b) Don't start try job if you don't understand the command. BUG=none TEST=Make change in local sandbox and confirm proper things happen on "git try help", "git try xyzzy", and "git try -b linux." Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54374

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M trychange.py View 1 1 chunk +17 lines, -1 line 1 comment Download

Messages

Total messages: 12 (0 generated)
Randy Smith (Not in Mondays)
Evan, you want to do the review, since you were mocking me for not committing ...
10 years, 4 months ago (2010-07-29 22:46:33 UTC) #1
Evan Martin
http://codereview.chromium.org/3075009/diff/1/2 File trychange.py (right): http://codereview.chromium.org/3075009/diff/1/2#newcode605 trychange.py:605: if len(args) == 2 and args[0] == 'help': Why ...
10 years, 4 months ago (2010-07-29 22:52:26 UTC) #2
Randy Smith (Not in Mondays)
While going over your comments I noticed some problems in my initial submission: I was ...
10 years, 4 months ago (2010-07-29 23:25:08 UTC) #3
Evan Martin
LGTM http://codereview.chromium.org/3075009/diff/5001/6001 File trychange.py (right): http://codereview.chromium.org/3075009/diff/5001/6001#newcode605 trychange.py:605: # a single argument results in len(args) == ...
10 years, 4 months ago (2010-07-29 23:36:19 UTC) #4
M-A Ruel
Ignore the exception, I'll fix it when I come back from vacation. Le 29 juillet ...
10 years, 4 months ago (2010-07-30 01:20:40 UTC) #5
Randy Smith (Not in Mondays)
On 2010/07/29 23:36:19, Evan Martin wrote: > http://codereview.chromium.org/3075009/diff/5001/6001#newcode605 > trychange.py:605: # a single argument results ...
10 years, 4 months ago (2010-07-30 20:08:33 UTC) #6
viettrungluu
I think this change breaks "git try foobar".
10 years, 4 months ago (2010-08-03 20:44:43 UTC) #7
Evan Martin
On 2010/08/03 20:44:43, viettrungluu wrote: > I think this change breaks "git try foobar". Dang, ...
10 years, 4 months ago (2010-08-03 20:46:18 UTC) #8
rdsmith_google.com
Sorry about this (and about being out on vacation for a couple of days after ...
10 years, 4 months ago (2010-08-05 03:28:47 UTC) #9
Evan Martin
On Wed, Aug 4, 2010 at 8:28 PM, Randy Smith <rdsmith@google.com> wrote: > Sorry about ...
10 years, 4 months ago (2010-08-05 17:12:34 UTC) #10
rdsmith_google.com
On Thu, Aug 5, 2010 at 1:12 PM, Evan Martin <evan@chromium.org> wrote: > On Wed, ...
10 years, 4 months ago (2010-08-05 18:09:59 UTC) #11
Evan Martin
10 years, 4 months ago (2010-08-05 18:19:53 UTC) #12
On Thu, Aug 5, 2010 at 11:09 AM, Randy Smith <rdsmith@google.com> wrote:
> On Thu, Aug 5, 2010 at 1:12 PM, Evan Martin <evan@chromium.org> wrote:
>> On Wed, Aug 4, 2010 at 8:28 PM, Randy Smith <rdsmith@google.com> wrote:
>>> 2) Has someone reverted this, or are we still in whatever state the
>>> answer to question 1 implies?
>>
>> Not reverted.  If I get around to it I'll fix it.
>
> Sounds good; I'll aim in the same direction (specifically, I'll try to
> do this by EOD F if you don't beat me to it.)  If you do fix it, I'd
> recommend bailing in some informative fashion if the named branch
> doesn't exist and make sure that the meaning of the foobar is listed
> in the help output; I think the original behavior was just to toss off
> a try job as default if the branch wasn't recognized.
>
> Let me know if you start work on this so I don't have to, and I'll do the
same.

It's really not too important, I think.  I wouldn't even bother fixing
it.  Maybe Trung will be so inspired.  ;)

Powered by Google App Engine
This is Rietveld 408576698