tags:

views:

392

answers:

1

I use this to remove a file from the repo:

hg remove <full file path> 

What command can you use to do an hg remove on all files that have been deleted locally?

By deleted locally, I mean those showing up with an ! when you do hg status.

For adds, you can just do hg add to add all new files (those prefixed with ?).

+10  A: 

This will add all new files that are not ignored, and remove all locally missing files

hg addremove

Either of these will remove all locally missing files(They are the same command)

hg remove --after
hg remove -A
mfperzel
there is also hg forget which is eqivalent to hg rm -Af
jk