getting rid of hg metadata