removing files

Radoslaw AstralStorm Szkodzinski astralstorm at
Mon Aug 1 13:12:52 CDT 2005

On Mon, 1 Aug 2005 09:37:18 +0800 
Soh Tk-r28629 <tksoh at> wrote:

> How can I remove a file (from Hg's point of view) without having to remove the file physically first? I checked in some generated binary files (for preservation purpose), but would like Hg to ignore them after the initial commit.

Easy, just rename the file, then hg remove <oldname>
hg remove shouldn't delete the file. Maybe someone unforseeingly changed that


GPG Key ID = 0xD1F10BA2
GPG Key fingerprint = 96E2 304A B9C4 949A 10A0  9105 9543 0453 D1F1 0BA2
Please encrypt if you can.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url :

More information about the Mercurial mailing list