[hg] add purge