hg clone ssh://example.com/repo
cd repo
hg update -r $SOME_COMMIT_HASH_OR_ID
```
Unless you mean you want to delete history back to a certain point, in which case it's only slightly more complicated.
hg clone ssh://example.com/repo
cd repo
hg update -r $SOME_COMMIT_HASH_OR_ID
```
Unless you mean you want to delete history back to a certain point, in which case it's only slightly more complicated.