I just moved a bunch of files from one directory to another. I also created several new files. And I ran python setup.py sdist
, which generates a bunch of files.
I forgot to add all these files I do not care about to my .hgignore
so when I ran hg addremove
- bam, I get everything.
Ick.
In git, I would run git reset
which would simply unstage all of my changes and life would be happy. In TortoiseHg I could just click the little checkbox a couple of times to uncheck all of them and life would also be happy.
But on the command line... I just want to go back to the way things were before I did hg addremove
.
How do I do that?