]> Cypherpunks repositories - gostls13.git/commitdiff
codereview: fix for Mercurial 2.9
authorAnthony Martin <ality@pbrane.org>
Fri, 14 Feb 2014 23:56:58 +0000 (15:56 -0800)
committerAnthony Martin <ality@pbrane.org>
Fri, 14 Feb 2014 23:56:58 +0000 (15:56 -0800)
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

lib/codereview/codereview.py

index 18ecc141d2c802e01e398d8a9d21242a72a1401a..e19d601ffda540c717145c25c0a2831f2428a8c8 100644 (file)
@@ -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