Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

```

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: