Commit 5dd0869b authored by Andrew Gerrand's avatar Andrew Gerrand

codereview: permit CLs of the form weekly.DATE

gobuilder: recognize CLs of the form weekly.DATE

R=rsc, r
CC=golang-dev
https://golang.org/cl/4282052
parent a93f70c2
......@@ -779,7 +779,7 @@ def Incoming(ui, repo, opts):
_, incoming, _ = findcommonincoming(repo, getremote(ui, repo, opts))
return incoming
desc_re = '^(.+: |tag release\.|release\.|fix build)'
desc_re = '^(.+: |(tag )?(release|weekly)\.|fix build)'
desc_msg = '''Your CL description appears not to use the standard form.
......
......@@ -64,7 +64,7 @@ var (
var (
goroot string
releaseRegexp = regexp.MustCompile(`^release\.[0-9\-.]+`)
releaseRegexp = regexp.MustCompile(`^(release|weekly)\.[0-9\-.]+`)
benchRequests vector.Vector
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment