Script for closing expired branches in hg repo