codereview: don't warn about secret commits
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 <ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@golang.org>

gnanderson/go,tv42/old-go,gnanderson/go,gnanderson/go,tv42/old-go,gnanderson/go,apparentlymart/golang,pombredanne/go-deleteme,gnanderson/go,apparentlymart/golang,apparentlymart/golang,apparentlymart/golang,pombredanne/go-deleteme,tv42/old-go,tv42/old-go,pombredanne/go-deleteme,pombredanne/go-deleteme,apparentlymart/golang,apparentlymart/golang,tv42/old-go,tv42/old-go,pombredanne/go-deleteme,gnanderson/go,pombredanne/go-deleteme,tv42/old-go,pombredanne/go-deleteme,apparentlymart/golang,gnanderson/go