3 ms·
``` 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, i
by thfuran 3y ago
```
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.