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

Issue 7398055: code review 7398055: codereview: don't warn about secret commits (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by ality
Modified:
12 years, 5 months ago
Reviewers:
minux1, rsc
CC:
golang-dev, rsc, minux1
Visibility:
Public.

Description

codereview: don't warn about secret commits Normally the codereview plugin disables adding new commits when not using the submit command. Unfortunately this makes it impossible to use the Mercurial Queues extension at the same time. A feature called "Phases" was introduced in Mercurial 2.1 that allows marking commits as being secret; this means they will never be pushed to the upstream repository. We can take advantage of this feature to allow the use of Mercurial Queues if the mq.secret option has been set in hgrc(5) and a recent version of Mercurial is used.

Patch Set 1 #

Patch Set 2 : diff -r f002e89cbd51 https://code.google.com/p/go/ #

Patch Set 3 : diff -r f002e89cbd51 https://code.google.com/p/go/ #

Patch Set 4 : diff -r b766c6f23b62 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M lib/codereview/codereview.py View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 7
ality
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
12 years, 8 months ago (2013-02-27 09:32:10 UTC) #1
rsc
LGTM
12 years, 8 months ago (2013-02-27 16:40:32 UTC) #2
ality
PTAL This version should be correct. I forgot that phases were not present in versions ...
12 years, 8 months ago (2013-02-28 14:49:44 UTC) #3
ality
Ping.
12 years, 8 months ago (2013-03-07 16:47:39 UTC) #4
minux1
LGTM.
12 years, 8 months ago (2013-03-07 17:24:01 UTC) #5
rsc
Seems fine but I am confused about how you can use Mercurial Queues at all. ...
12 years, 8 months ago (2013-03-11 15:36:48 UTC) #6
bradfitz
12 years, 5 months ago (2013-06-04 22:03:06 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=f414cea0edce ***

codereview: don't warn about secret commits

Normally the codereview plugin disables adding new commits
when not using the submit command. Unfortunately this makes
it impossible to use the Mercurial Queues extension at the
same time.

A feature called "Phases" was introduced in Mercurial 2.1
that allows marking commits as being secret; this means
they will never be pushed to the upstream repository.

We can take advantage of this feature to allow the use of
Mercurial Queues if the mq.secret option has been set in
hgrc(5) and a recent version of Mercurial is used.

R=golang-dev, rsc, minux.ma
CC=golang-dev
https://codereview.appspot.com/7398055

Committer: Brad Fitzpatrick <bradfitz@golang.org>
Sign in to reply to this message.

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