stop tracing file

Steve Borho steve at borho.org
Wed Dec 19 08:46:55 CST 2007


On Wed, 2007-12-19 at 14:48 +0100, wang liang wrote:
> hi,all
> 
> has hg got the fonction as git rm --cached
> stop tracing the files but keep them in work directory

hg rm --after

But there is a bug right now that prevents it from working if the file
has modifications.  In that case, 'hg rm --after' will abort telling you
to use '--force'.  When you use 'hg rm --force --after', it deletes the
file.

-- 
Steve Borho (steve at borho.org)
http://www.borho.org/~steve/steve.asc
Key fingerprint = 2D08 E7CF B624 624C DE1F  E2E4 B0C2 5292 F2C6 2C8C



More information about the Mercurial-devel mailing list