Skip to content

Commit

Permalink
codereview: fix for Mercurial 2.9
Browse files Browse the repository at this point in the history
The branchtags method was removed but we should've
been using branchmap all along.

http://selenic.com/hg/rev/4274eda143cb

LGTM=franciscossouza, r
R=golang-codereviews, franciscossouza, r
CC=golang-codereviews
https://golang.org/cl/57500045
  • Loading branch information
ality committed Feb 14, 2014
1 parent 9f0008b commit 881e23d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/codereview/codereview.py
Original file line number Diff line number Diff line change
Expand Up @@ -2669,7 +2669,7 @@ def RietveldSetup(ui, repo):
rpc = None

global releaseBranch
tags = repo.branchtags().keys()
tags = repo.branchmap().keys()
if 'release-branch.go10' in tags:
# NOTE(rsc): This tags.sort is going to get the wrong
# answer when comparing release-branch.go9 with
Expand Down

0 comments on commit 881e23d

Please sign in to comment.