Problem: on large repos, it would be useful to be able to do a partial clone and/or checkout

Proposal: add a new file like .hgignore to the .hg/ directory that specifies which files should be ignored for clone/checkout.

To implement:

Not to be confused with TrimmingHistory, which trims in the history tree, not the directory tree.