# HG changeset patch # User Henrik Stuart <h...@hstuart.dk> # Date 1269811457 -7200 # Node ID 7e881e77baf00d707aa3214fc985d80a0749789a # Parent 56119077d4198328261bef8bcbc984fb69792c52 history: sort branches so they are easier to find
Finding branches in branch-heavy repositories currently requires you to find the proverbial needle in a haystack. diff -r 56119077d419 -r 7e881e77baf0 tortoisehg/hgtk/history.py --- a/tortoisehg/hgtk/history.py Sun Mar 28 23:22:04 2010 +0200 +++ b/tortoisehg/hgtk/history.py Sun Mar 28 23:24:17 2010 +0200 @@ -149,7 +149,7 @@ # refresh branch names self.branchcombo.get_model().clear() self.branchcombo.append_text(_('Branches...')) - for name in branch_names: + for name in sorted(branch_names): self.branchcombo.append_text(name) # try to restore previously selected item ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop