refactor mercurialSha
wip: add mercurialSha to deleteEntries