And there is a patch proposal here : <a href="http://www.selenic.com/mercurial/bts/issue438">http://www.selenic.com/mercurial/bts/issue438</a><br><br><div class="gmail_quote">On Dec 19, 2007 3:46 PM, Steve Borho &lt;<a href="mailto:steve@borho.org">
steve@borho.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c"><br>On Wed, 2007-12-19 at 14:48 +0100, wang liang wrote:
<br>&gt; hi,all<br>&gt;<br>&gt; has hg got the fonction as git rm --cached<br>&gt; stop tracing the files but keep them in work directory<br><br></div></div>hg rm --after<br><br>But there is a bug right now that prevents it from working if the file
<br>has modifications. &nbsp;In that case, &#39;hg rm --after&#39; will abort telling you<br>to use &#39;--force&#39;. &nbsp;When you use &#39;hg rm --force --after&#39;, it deletes the<br>file.<br><br>--<br>Steve Borho (<a href="mailto:steve@borho.org">
steve@borho.org</a>)<br><a href="http://www.borho.org/%7Esteve/steve.asc" target="_blank">http://www.borho.org/~steve/steve.asc</a><br>Key fingerprint = 2D08 E7CF B624 624C DE1F &nbsp;E2E4 B0C2 5292 F2C6 2C8C<br><br>_______________________________________________
<br>Mercurial-devel mailing list<br><a href="mailto:Mercurial-devel@selenic.com">Mercurial-devel@selenic.com</a><br><a href="http://selenic.com/mailman/listinfo/mercurial-devel" target="_blank">http://selenic.com/mailman/listinfo/mercurial-devel
</a><br></blockquote></div><br><br clear="all"><br>-- <br>_________________________________________________________________________<br>SYSTEREL &nbsp; &nbsp; mailto:<a href="mailto:mathieu.clabaut@systerel.fr">mathieu.clabaut@systerel.fr
</a> &nbsp; &nbsp;<a href="http://www.systerel.fr">http://www.systerel.fr</a><br>Porte de l&#39;Arbois - Bât A, 1090 rue René Descartes, &nbsp; tel: 04 42 90 41 24<br>13857 Aix En Provence - cedex 3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fax: 04 42 90 41 29
<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; F2F5 442F F2AC E1D5 9D31 &nbsp;3EFC 842A BC4A 123B 9A65<br>