[issue2487] Add --ignored to hg forget to forget files

Matthew Adams bugs at mercurial.selenic.com
Wed Nov 10 19:29:28 UTC 2010


New submission from Matthew Adams <matthew at matthewadams.me>:

I accidentally committed files that I meant to ignore.  Then I tweaked my 
.hgignore so that it caught everything I wanted it to.  Next, I would have 
liked to say to hg "now forget everything that you're currently tracking but 
that my current .hgignore file says to ignore".  Can't do that.  Please add?

Syntax suggestion came from danchr on #mercurial.

Perhaps another command:  show me files that are currently tracked but that 
should be ignored according to my .hgignore. "hg stat --trackedandignored"?

----------
messages: 14369
nosy: matthewadams
priority: wish
status: unread
title: Add --ignored to hg forget to forget files

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2487>
____________________________________________________


More information about the Mercurial-devel mailing list