You can just use hg forget or maybe add the file to your .hgignore file. And to answer the last question about the R in my_file . If you see the help for hg rm -- help ...
How to stop tracking a file¶. Once you decide that a file no longer belongs in your repository, use the hg remove command. This deletes the ...
You want to become aquainted with hg forget FILENAME. It works for both, already committed and uncommitted files.
You can use hg forget
Stop Tracking ( hg remove or hg forget ) means that Mercurial will not record any changes made to the file and the file will no longer be part of the repository.
Once you decide that a file no longer belongs in your repository, use the hg remove command. This deletes the file, and tells Mercurial to stop tracking it ( which ...
You can list a filename or a directory. Or “ .” to select all. remove, delete the file and tell Mercurial to stop tracking it. ( ...
Now I can use hg untrack whatever.py to stop tracking a file. Addremove Can Track Renames But Won't Unless You Ask It Really Nicely. It took ...
Stop tracking & delete. hg copy file target. Copy file. hg move file target. Move file.
stop tracking a file. 24. $hg remove