Some commands about Hg

Active branches ordered by date

  hg branches  --active --color never \                                                                           
| egrep -o '^[^ ]+' \
| for i in $(cat)
    do hg log --rev "$i" --template '{date|localdate|isodate} {branch}\n'
  done \
| sort