fixing up mercurial script, adding tar of xml files