How to abandon all Mercurial changes that haven't been committed

Posted by Ronnie Overby on Stack Overflow See other posts from Stack Overflow or by Ronnie Overby
Published on 2010-05-05T12:28:14Z Indexed on 2010/05/05 12:38 UTC
Read the original article Hit count: 172

How do you abandon all repository changes since the last commit in Mercurial?

I don't think that this is the revert command, because that will actually update the working directory to the last commit. I just want to undo changes in the repository (added files, removed files, etc).

But, I'm new with Mercurial, so I could be missing something.

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about source-code