tags:

views:

127

answers:

1

Let's say I have the current status:

M File1.cs
M File2.cs
M File3.cs
! File4.cs
! File5.cs
! File6.cs

How do I bulk remove files 4, 5, 6 (!) from the next commit?

At the moment, I am just removing them manually before committing, like such:

hg remove File4.cs
hg remove File5.cs
hg remove File6.cs

But is there a way to remove them all at one go ?

+1  A: 

Run hg addremove

Ry4an
`remove --after` is probably better (doesn't add files)
tonfa
good point. I voted for close on the dupe, but you should add that answer anyway.
Ry4an