How to stop tracking a file without deleting the file
Martin Chabot
chabotm at gmail.com
Tue Jun 17 14:04:44 CDT 2008
I was running version 0.9.5, the hg rm -Af command did't work properly.
Everything works well since I upgraded my version to 1.0.1
Thanks
Matt Mackall wrote:
> On Tue, 2008-06-17 at 12:43 -0400, Martin Chabot wrote:
>
>> I have added accidentally some files in the repository that I don't want
>> to be tracked. I modified my .hgignore, committed it. This does not do
>> the trick. I think I need to do a hg remove. The problem is that it
>> removes the file in my working directory and I don't want that. I
>> imagine there is a way of doing this.
>>
>
> Have you tried 'hg help remove' yet? You want 'hg rm -Af'.
>
>
More information about the Mercurial
mailing list