fix hg changelog generator

@tfoote @wjwwood Please review.