Change branches to sort 'active' branches first, and add an option to show only active branches.
#!/bin/sh# a test for issue586hg init acd aecho a > ahg ci -Amahg init ../bcd ../becho b > bhg ci -Ambhg pull -f ../ahg mergehg rm -f ahg ci -Amchg st -A