Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
d2e70054
Commit
d2e70054
authored
Apr 25, 2012
by
Russ Cox
Committed by
Andrew Gerrand
Apr 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codereview: look for new release branches
R=adg CC=golang-dev
https://golang.org/cl/6127048
parent
b6522c43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
codereview.py
lib/codereview/codereview.py
+5
-6
No files found.
lib/codereview/codereview.py
View file @
d2e70054
...
...
@@ -2610,15 +2610,14 @@ def RietveldSetup(ui, repo):
global
releaseBranch
tags
=
repo
.
branchtags
()
.
keys
()
if
'release-branch.
r10
0'
in
tags
:
if
'release-branch.
go1
0'
in
tags
:
# NOTE(rsc): This tags.sort is going to get the wrong
# answer when comparing release-branch.r99 with
# release-branch.r100. If we do ten releases a year
# that gives us 4 years before we have to worry about this.
raise
hg_util
.
Abort
(
'tags.sort needs to be fixed for release-branch.r100'
)
# answer when comparing release-branch.go9 with
# release-branch.go10. It will be a while before we care.
raise
hg_util
.
Abort
(
'tags.sort needs to be fixed for release-branch.go10'
)
tags
.
sort
()
for
t
in
tags
:
if
t
.
startswith
(
'release-branch.'
):
if
t
.
startswith
(
'release-branch.
go
'
):
releaseBranch
=
t
#######################################################################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment