removing files

Radoslaw AstralStorm Szkodzinski astralstorm at
Mon Aug 1 21:01:22 CDT 2005

On Tue, 2 Aug 2005 07:53:09 +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>
> Impractical. There may be tens, or even hundreds of such files.

Then move them to a folder.
But then, a --force switch might be of some use. Not too much of a problem to
add it.


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