removing file from Hg control

Bryan O'Sullivan bos at serpentine.com
Wed Aug 3 19:51:34 CDT 2005


On Thu, 2005-08-04 at 08:44 +0800, Soh Tk-r28629 wrote:
> I would like to remove some files from being managed by Hg, that I
> accidentally checked in much earlier. I have tried to remove the files
> from .hg/data/, which seems to work, but I'm not this is the right
> thing to do. Comment?

It's not the right thing to do, because the changeset manifest will
still refer to those files, so you've corrupted your repository.

At the moment, there's no way to do what you want to.  It would be
difficult to do properly, so I would not expect such a command to show
up soon, unfortunately.

	<b

-- 
Bryan O'Sullivan <bos at serpentine.com>



More information about the Mercurial mailing list