>>> "SB" == Sietse Brouwer <sbbrou...@gmail.com> writes:

> Hi Uwe, hi all,
> To forget all added files, you can use a fileset (`hg help fileset):

> ```
> hg forget 'set: added()'
> ```

> To put all removed files back, use

> ```
> hg revert 'set: removed()'
> ```

I am confused, why not 
 hg forget 'set: removed()'

The revert command is problematic because it resets uncommitted changes, this 
is why I think one should use *forget* here.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Mercurial mailing list
Mercurial@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to