# HG changeset patch # User Chris Cannam # Date 1299164925 0 # Node ID adc8466df40458678340faa4159a998ee1b03e75 # Parent c2ffbc10233e236fdc5716af38d3851b252a2a98 * Restore branch menu in repo diff -r c2ffbc10233e -r adc8466df404 app/models/repository/mercurial.rb --- a/app/models/repository/mercurial.rb Thu Mar 03 14:39:01 2011 +0000 +++ b/app/models/repository/mercurial.rb Thu Mar 03 15:08:45 2011 +0000 @@ -56,7 +56,8 @@ end def branches - nil + bras = scm.branches + bras.sort unless bras == %w|default| end def tags