Commits

Brodie Rao  committed 3c47705

Refreshing queue

  • Participants
  • Parent commits 0a87972

Comments (0)

Files changed (2)

File branchmap-itertips-5

 # HG changeset patch
-# Parent 580e2245b19d04c3625f935b685a9d3cc4f03fee
+# Parent 07cce96cc7c56310fd3c74c31668d997ec917a72
 hgweb: simplify branch gathering in branches with repo.branchmap().itertips()
 
 diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py
      heads = web.repo.heads()
      parity = paritygen(web.stripecount)
 -    sortkey = lambda ctx: (not ctx.closesbranch(), ctx.rev())
-+    sortkey = lambda item: (not item[0].closesbranch(), item[0].rev())
++    sortkey = lambda item: (not item[1], item[0].rev())
  
      def entries(limit, **map):
          count = 0

File localrepo-cleanup

 # HG changeset patch
-# Parent 71727b958d3cc9e3e844b3c7b0e2ee3d4e0935b4
+# Parent 8d1c2f8c2c2b9168c43b42180920346e1fdfbc68
 localrepo: remove unused repo.branchtags()/_branchtip() methods
 
 diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py